Go suffers from this problem too. It uses an arbitrary number representation for constants only, which are computed at compile-time.
For example, the following code:
Outputs:package main import "fmt" func main() { x := 14.4; y := 10.0; fmt.Printf("%.49f\n", x) fmt.Printf("%.49f\n", x+y-y) }
14.4000000000000003552713678800500929355621337890625 14.3999999999999985789145284797996282577514648437500
In reply to Re^2: Okay! What!?!?!?
by trizen
in thread Okay! What!?!?!?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |