Comment

Comment by langarto

The printing routine. Internally, none of them can store 0.3 in a floating point variable because it is impossible to do so in exponential notation with base 2 (which is what IEE 754 uses).

Some languages may optionally use an exact representation (e.g., Scheme or Python), but that's not the general case.

parent langarto 11 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton