Hi all,
Line 359 in /harbour/util/hbtest/rt_math.prg is:
TEST_LINE( Str(1234567890 * 1234567890 ) , " 1524157875019052000"
) // real val is 1524157875019052100
The comparison value " 152415875019052000" should be " 1524157875019052100"
The comment at the end of the line stating the correct value seems to indicate
that the author knows the real value but uses the incorrect value anyway.
Perhaps Harbour didn't always get the correct value. Or perhaps some
combination of hardware/OSs still get an incorrect answer. I get the correct
value. Fixing the comparison value will reduce the error count reported by
hbtest by 1.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour