« first day (511 days earlier)
← previous day
next day →
last day (1024 days later) »
ktye
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?
ktye
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
ktye
@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
ktye
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? :)
ktye
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
:)
ktye
does libc do that, when you have some env variable set??
ngn
i don't know
« first day (511 days earlier)
← previous day
next day →
last day (1024 days later) »
all rooms
Transcript for
Jul
30
Jul '20
31
Aug
4
the k tree
app.element.io/#/room/#ngnk:matrix.org
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile