Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

What every programmer should know about floats

Name: Anonymous 2021-06-21 7:33

1. Floats are not real.

Name: Anonymous 2021-06-21 7:54

Floating point notation is like scientific notation, but with 2 instead of 10,

S*2^E

Where S is the significand, 2 is the basis, E is the exponent.

Name: Anonymous 2021-06-22 18:20

You can solve your float problems by eating heavier metals.

Name: Anonymous 2021-06-23 7:16

Floating point is garbage. It would be slightly less disgusting if the significant digits were encoded as two's complement, but the retards just had to choose fucking sign bit. Representation of real numbers as numerator and denominator is infinitely better overall.

Name: Anonymous 2021-06-24 9:47

>>4
trollface.jpg

Name: Anonymous 2021-06-25 9:25

>>4
Representation of real numbers as numerator and denominator is infinitely better overall.
Still has accuracy issues for scientific applications

Name: Anonymous 2021-06-25 16:52

Constant time's a bitch, O(1)nnit

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List