Floating Point: Difference between revisions

From Resonite Wiki
Created a page of the abstract concept of floating point.
 
added link to see also
 
(3 intermediate revisions by 3 users not shown)
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 ==


* Can be seen using the [[Scene Inspector]], usually when looking at the transform and seeing the position, rotation, or scale is not exactly <code>1</code>, and is showing <code>0.999998</code> instead.
* Can be seen using the [[Scene Inspector]], usually when looking at the transform and seeing the position, rotation, or scale is not exactly <code>1</code>, and is showing <code>0.999998</code> instead.
* Can be expirenced when a [[User|user]] is away from the world origin point (or center) of the [[World|world]]. When this far away, UI (the [[Context menu|context menu]] and the[[Dash]]) and other things requiring position, will start to shake violently, with varying degrees of control to interactions.
* Can be experienced when a [[User|user]] is away from the world origin point (or center) of the [[World|world]]. When this far away, UI (the [[Context menu|context menu]] and the [[Dash|dash]]) 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.
** 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.


Line 15: Line 15:
* Users often say something is "floating point" when they see strange, often large, numbers being what they are.
* 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.
* 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%2B38|Anomaly: 3.40282347E+38]]


== Videos ==
== Videos ==
Line 23: 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]
* [https://0.30000000000000004.com/ 0.30000000000000004.com]

Latest revision as of 16:22, 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 the dash) 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