Conversation

Jarkko Sakkinen

have been cleaning up C code for caffeine commander and remembered one of its features: it does not use floating point numbers :-)

i wonder how many tui programs make FPU a separate concern but i just cannot use it. it's weird and does not exist in kernel 🤷

i have a fixed point number library instead.
1
0
1

@jarkko I work with fuel prices at work all the time. Floating point would never be accurate enough. We just use integer fractions of a penny for prices.

0
0
0