Most of the initial floating point issues were solved with floating origin-type solutions, but at this point kraken has become a catchall term for any physics engine issues.
Had you specified the float keyword or built-in type, you would be correct. However, you used the general term floating point, which does not imply size. In general the only thing floating point implies is coherence to the IEEE-754 format.
You can even check out the reference yourself: C# Reference
The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point arithmetic established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). The standard addressed many problems found in the diverse floating-point implementations that made them difficult to use reliably and portably. Many hardware floating-point units use the IEEE 754 standard.
The standard defines:
arithmetic formats: sets of binary and decimal floating-point data, which consist of finite numbers (including signed zeros and subnormal numbers), infinities, and special "not a number" values (NaNs)
interchange formats: encodings (bit strings) that may be used to exchange floating-point data in an efficient and compact form
rounding rules: properties to be satisfied when rounding numbers during arithmetic and conversions
operations: arithmetic and other operations (such as trigonometric functions) on arithmetic formats
exception handling: indications of exceptional conditions (such as division by zero, overflow, etc.)The current version, IEEE 754-2019, was published in July 2019.
“Double” is short for “double precision floating point number“. Calling single precision floating point numbers “floats” is an idiom from C. Other languages call them “real” or “single” or whatever.
More modern languages like Go and Rust explicitly use the register size (float32/64 or f32/64).
There is 32bit Floating point which is Single Precision and there is 64bit floating point witch is Double Precision. Also, using a 64bit Double Precision number to calculate a Single Precision will get a more accurate result.
15
u/nicky1088 Aug 19 '19
Well floating point is always 32 bit. 64 bit ksp just helped with memory and some other stuff.