[Issue 360] Compile-time floating-point calculations are sometimes inconsistent
xs0
xs0 at xs0.com
Mon Sep 25 05:02:27 PDT 2006
Walter Bright wrote:
> Don Clugston wrote:
>> One consequence of that would be in the name mangling for floating
>> point constants in templates. Currently it's 20 hex characters, which
>> only makes sense for a system with 80-bit reals; might be better to
>> make it 32 hex characters, even if the extra 12 are all '0'.
>
> I'm reluctant to do that because there are already problems with the
> mangled names getting too long.
What if you used characters other than A-F to compress the zeros?
G = 2 * '0'
H = 3 * '0'
...
Z = 21 * '0'
xs0
More information about the Digitalmars-d-bugs
mailing list