Float32 tutorial
AGCB
Posts: 330
in Propeller 1
Would someone point me to a tutorial on setting up a large equation in Float32? Just give me a starting point please.
Thanks
Aaron
Thanks
Aaron
Comments
1.0 / ( A + B )
becomes
stack[0] := 1.0
stack[1] := A
stack[2] := B
stack[1] := FAdd(stack[1],stack[2])
stack[0] := FDiv(stack[0],stack[1])
This obviously can be simplified, but each of these transformations is simple and mechanical ... normally would be done by a compiler.