Floating Point: Difference between revisions

From Resonite Wiki
Added a trivia link. spellcheck.
m typo fixes
Line 1: Line 1:
'''Floating Point''' is an [[Abstract Concepts|abstract concept]] that represents the [[Type:float|float type]] to hold a numeric value that has a decimal place in it.
'''Floating Point''' is an [[Abstract Concepts|abstract concept]] that represents the [[Type:float|float type]] to hold a numeric value that has a decimal place in it.


Other types, such as the [[Type:double|double type]] are considered floating points, just with more percision than a float.
Other types, such as the [[Type:double|double type]] are considered floating points, just with more precision than a float.


{{Note|Using a [[Type:float|float]] is often not recommended for anything requiring more accuracy or percision past it's own limitations. For currency, use the [[Type:Decimal|decimal]] type instead.|suggestion}}
{{Note|Using a [[Type:float|float]] is often not recommended for anything requiring more accuracy or precision past its own limitations. For currency, use the [[Type:Decimal|decimal]] type instead.|suggestion}}


== Floating Points In Resonite ==
== Floating Points In Resonite ==
Line 24: Line 24:


== See Also ==
== See Also ==
* Wikipedia's defninition on the [https://en.wikipedia.org/wiki/IEEE_754 floating point standard (IEEE 754)]
* Wikipedia's definition on the [https://en.wikipedia.org/wiki/IEEE_754 floating point standard (IEEE 754)]
** In contrast is [https://en.wikipedia.org/wiki/Fixed-point_arithmetic Fixed Point Arithmetic]
** In contrast is [https://en.wikipedia.org/wiki/Fixed-point_arithmetic Fixed Point Arithmetic]

Revision as of 13:30, 30 July 2024

Floating Point is an abstract concept that represents the float type to hold a numeric value that has a decimal place in it.

Other types, such as the double type are considered floating points, just with more precision than a float.

Using a float is often not recommended for anything requiring more accuracy or precision past its own limitations. For currency, use the decimal type instead.

Floating Points In Resonite

  • Can be seen using the Scene Inspector, usually when looking at the transform and seeing the position, rotation, or scale is not exactly 1, and is showing 0.999998 instead.
  • Can be experienced when a user is away from the world origin point (or center) of the world. When this far away, UI (the context menu and theDash) and other things requiring position, will start to shake violently, with varying degrees of control to interactions.
    • Many users have made systems that can move the world around the user locally as they move instead of having the user walk around the world.

Trivia

  • Users often say something is "floating point" when they see strange, often large, numbers being what they are.
  • Users joke about saying "sending someone to floating point" after using a knockback item strong enough to send another user a large enough distance away from the origin of the world.
  • Some users have gave this phenomenon a name: Anomaly: 3.40282347E+38

Videos

See Also