I am sorry for my last post being so brief.  I intended to update the
bug with a little bit more of an explanation.

It is not a good idea to use the "same as" comparison operator with
floating point numbers unless you can explicitly cast the value into a
specific format.  In this case, as you suggested, casting 1e-05 to a
string ("1e-05") will yield the intended result.

Here is some additional information:

http://www.gnu.org/manual/gawk/html_node/Unexpected-Results.html
#Unexpected-Results

I am marking the bug invalid since this is not really a bug.

-- 
The == operator doesn't work appropriately
https://bugs.launchpad.net/bugs/304125
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to