Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Varlink – IPC to replace D-Bus gradually in systemd. Parent comment
Hexadecimal, if so. Nearly any decent modern language and runtime can it.
$ python >>> import math >>> math.pi.hex() '0x1.921fb54442d18p+1'
(I donʼt count decimal floating-point as it is quite rare and its application is faint. In overwhelming most of cases, fixed point is better.)
There are no comments on this comment yet.
Hexadecimal, if so. Nearly any decent modern language and runtime can it.
This gives exact value without any rounding effects and conversion cost.(I donʼt count decimal floating-point as it is quite rare and its application is faint. In overwhelming most of cases, fixed point is better.)