FortranLibSign(Int32, Int32) Method |
Transfer of sign
Returns |a1| if a2>= 0
Returns -|a1| if a2<0
Namespace: Altaxo.Calc.Ode.ObsoleteAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static int Sign(
int a1,
int a2
)
Parameters
- a1 Int32
- The value whose magnitude is used.
- a2 Int32
- The value whose sign determines the sign of the result.
Return Value
Int32 Returns |a1| if a2>= 0, Returns -|a1| if a2<0
See Also