« first day (511 days earlier)      last day (8 days later) » 

12:45 PM
@ngn does this deserialize a float from binary?`?0x0b,|0x4020000000000000
is there a restriction?
 
ngn
@ktye in ngn/k's tests? yes, that's what it does
@ktye what restriction?
 
on the values. are tagged pointers involved or purely data?
 
ngn
@ktye it's purely data
x.c is the (de)serializer, it's very dumb
 
@ngn how do you format, e.g. when do you switch from decimal to exponential? it seems different from small or large numbers.
 
ngn
@ktye this is the function that formats doubles
i don't remember the thresholds for scientific notation
 
12:59 PM
it seems to be 1e16 and 1e-4. 1e16 i think is rather large.
 
ngn
yep, 0<x≤1e-4 and 1e16<x use scientific
@ktye now i remember, i chose that because 17 meaningful digits determine any double uniquely
@ktye what caused this sudden interest in fp roundtripping? :)
 
i use only e3 e6 e9... i think it's more readable if the numbers represent physical quantities where you are used to have units with prefixes. i havn't seen it used elsewhere like that.
@ngn nothing particular. kelas asked about it.
 
ngn
@ktye except in india :)
 
does libc do that, when you have some env variable set??
 
ngn
i don't know
 

« first day (511 days earlier)      last day (8 days later) »