Printing floating points
Joseph Rushton Wakeling
joseph.wakeling at webdrake.net
Wed Jan 27 00:15:41 UTC 2021
On Tuesday, 26 January 2021 at 16:25:54 UTC, Berni44 wrote:
> The paper states 104KB for doubles (can be compressed on the
> expense of slowing everthing down).
It also notes that "the size could be halved to 52 kB with no
performance impact".
For comparison, a simple "Hello, World!", built with
optimizations and stripped, comes to about 700 kB. Even allowing
that the 128-bit table (which will support 80-bit reals) is going
to be larger, is this really an issue on modern machines?
The only circumstances I can see it mattering is in very
low-resource embedded use-cases where D stdlib is unlikely to be
viable anyway.
More information about the Digitalmars-d
mailing list