but for literal floating point values you would in general have to write them in a number base of a power of two if you want to express (and match) them exactly
You've missed the point.
It is not about representing root3 exactly; it is about displaying and printing the calculated internal value of root3 such that it retains all the available accuracy, so that that same level of accuracy may be restored from the printed value.
This is always possible; but perl does not achieve it.
The point is about reproducibility.
In reply to Re^5: Variables are automatically rounded off in perl (humans)
by BrowserUk
in thread Variables are automatically rounded off in perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |