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

double x=0.1;

Name: Anonymous 2012-05-05 8:07

Enjoy your rounding errors, faggot.

Name: Anonymous 2012-05-05 17:18

double in C is defined after the IEEE standard for floating point numbers. It will be, on a machine capable of binary64 representation (read: every machine), represented as an 11-bit exponent and 52-bit integer mantissa. That means there need be no integer precision loss until you pass the 2^52-1 mark.

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