Printing floating points

Walter Bright newshound2 at digitalmars.com
Wed Jan 27 07:16:58 UTC 2021


On 1/26/2021 6:20 PM, Joseph Rushton Wakeling wrote:
> On Wednesday, 27 January 2021 at 02:17:52 UTC, H. S. Teoh wrote:
>> If there was a way to make these tables pay-as-you-go, I'd vote for it. Adding 
>> 104KB or 52KB even if the code never once formats a float, is not ideal, 
>> though granted, in this day and age of cheap, high-capacity RAM not really a 
>> big issue.
> 
> Agree completely -- pay-as-you-go should be important for something like this.  
> (But then, it should be important for the whole stdlib...)

I've always thought things like this should be in the operating system. Get it 
right once, then everyone uses it.

Date/time/DST should be in the OS, so should the ridiculously large amount of 
code to deal with the level 3 Unicode madness.


More information about the Digitalmars-d mailing list