September 25, 2006
xs0 wrote:
> 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'

Compression is one solution.
1 2 3
Next ›   Last »