[Gambas-bugtracker] Bug #1562: Bad calculation

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Apr 18 22:11:37 CEST 2019


Comment #3 by Benoît MINISINI:

When you reach the floating-point precision limit, Float to String conversion may not use the last bit.

So "Print -1 + 1e-16" returns "-1", but internally they are not the same number.

More information about the Bugtracker mailing list