Skip to content

Instantly share code, notes, and snippets.

@Guevara-chan
Last active March 2, 2017 00:15
Show Gist options
  • Save Guevara-chan/ed8c670c612cf76bc80fe457a2f7110e to your computer and use it in GitHub Desktop.
Save Guevara-chan/ed8c670c612cf76bc80fe457a2f7110e to your computer and use it in GitHub Desktop.
Procedure Sign_(Val)
Define Factor.i = Val / Abs(Val), NaN.i = NaN()
ProcedureReturn Factor % NaN
EndProcedure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment