Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152021 - gcalctool-5.8.24 doesn't accept typed float hexadecimal
Summary: gcalctool-5.8.24 doesn't accept typed float hexadecimal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 173953
Blocks:
  Show dependency tree
 
Reported: 2006-10-19 19:45 UTC by Renan T. Inácio
Modified: 2007-04-09 20:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renan T. Inácio 2006-10-19 19:45:43 UTC
I can type 0,2 in decimal mode and then go to hexadecimal mode, so that it will display 0,19999999A. If i go back to decimal, it will show 0,2 again.

But if I copy 0,19999999A, clear the calculator (pressing esc), and under hexadecimal mode paste 0,19999999A, it won't change to decimal mode, saying it's not a sane value. If i try to multiply 0,19999999A (under hexadecimal mode) by 2, it will give me a "not well-formed expression" (in portuguese it is "express
Comment 1 Renan T. Inácio 2006-10-19 19:45:43 UTC
I can type 0,2 in decimal mode and then go to hexadecimal mode, so that it will display 0,19999999A. If i go back to decimal, it will show 0,2 again.

But if I copy 0,19999999A, clear the calculator (pressing esc), and under hexadecimal mode paste 0,19999999A, it won't change to decimal mode, saying it's not a sane value. If i try to multiply 0,19999999A (under hexadecimal mode) by 2, it will give me a "not well-formed expression" (in portuguese it is "expressão mal formada")

That only happens if you input a float number with letters, since with integers that doesn't happen, neither if I only use numbers with fractions.
Comment 2 Pacho Ramos gentoo-dev 2006-12-18 11:12:54 UTC
Is an upstream bug, it will be fixed in 5.9.9 that will be released tomorrow:
http://bugzilla.gnome.org/show_bug.cgi?id=371669

This is the patch used in this new version:
http://bugzilla.gnome.org/attachment.cgi?id=78433&action=view

Thanks ;-)
Comment 3 Pacho Ramos gentoo-dev 2007-02-10 22:06:29 UTC
Is an upstream bug, may be the patch (http://bugzilla.gnome.org/attachment.cgi?id=78433&action=view) be applied to current gcalctool version?

Thanks
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-02-11 02:08:32 UTC
I've added 2.8.25-r1 with this patch.