Open turbomam opened 7 months ago
According to Claude:
The main differences between an XSD (XML Schema Definition) float and double are:
Precision:
Range:
Memory Usage:
Accuracy:
In summary, XSD doubles have higher precision, a wider range of representable values, and occupy more memory compared to XSD floats. Doubles are generally preferred when precision is important, while floats can be used when memory is a constraint, and the required range and precision are within the limits of a single-precision floating-point number.
It's important to note that both XSD floats and doubles follow the IEEE 754 standard for floating-point arithmetic, which defines their representation and behavior.
I don't see why we need double here
^ I guess I was thinking in terms of huge ranges at the cost of memory footprint
there was also some discussion about using decimal
does one of those preserve prettier/more faithful string representations?
We just have to pick one here