bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] [Fwd: BUG REPORT]


From: cyrus
Subject: [bug-gawk] [Fwd: BUG REPORT]
Date: Mon, 06 Feb 2012 14:59:30 -0400

BEGIN {
a=0.93
b=0.62
c=0.31
d=b+c
        if (a == d)
                print "success" a d
        else print "Failure"
}

I'm using UBUNTU 11.1. and I have a 64bit OS.

The script above returns failure. But it should be success. If you
change the integers to round #'s then it returns success!!

--- Begin Message --- Subject: BUG REPORT Date: Mon, 06 Feb 2012 14:56:20 -0400
BEGIN {
a=0.93
b=0.62
c=0.31
d=b+c
        if (a == d)
                print "success" a d
        else print "Failure"
}

I'm using UBUNTU 11.1. and I have a 64bit OS.

The script above returns failure. But it should be success. If you
change the integers to round #'s then it returns success!!

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]