Filled in this node page. (Enjoy all the reading :3) |
This page is no longer a stub. |
||
Line 49: | Line 49: | ||
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators division] operator. | * Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators division] operator. | ||
[[Category:ProtoFlux:Operators]] | [[Category:ProtoFlux:Operators]] |
Latest revision as of 14:43, 27 June 2024
The Div node takes in 2 inputs and returns the calculated result. The second input (B
) will divide the first input (A
) into sub sections (mathematically speaking), and the result will show how many of our first value will fit into the second value.
Division is non-commutative (known as Anticommutative), which means where you put your inputs matters.
Inputs
A (Pseudo-Generic)
The value we have.
B (Pseudo-Generic)
The value we want to divide from (basically, how many times to cut our first value into to fit these many sub sections).
Outputs
* (Pseudo-Generic)
The new result from this operation.
Further Reading
Magic Numbers For Division
At a low level, computers use a special number to do multiplication for their division operations, known as a magic number. Each processor is different and may have a different number for calculations, but the video below should explain this concept a bit better.