FPEnvSetRoundingMethod

Applies to:uCalc Transform
Class:uCalc
Sets the floating point environment rounding option
Syntax
FPEnvSetRounding(Direction)
Remarks
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="FPEnvSetRounding")> _

Private Function FPEnvSetRounding__(ByVal uCalcHandle As IntPtr,ByVal Direction As FPEnvRoundingEnum) As  Int32
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="FPEnvSetRounding")]

protected static extern  Int32 FPEnvSetRounding_(IntPtr uCalcHandle,FPEnvRoundingEnum Direction);
            
{DLLImport}function FPEnvSetRounding__(uCalcHandle: System.Pointer;Direction: FPEnvRoundingEnum):  Int32; cdecl; external uCalcDLL name 'FPEnvSetRounding';

            
typedef  int32_t (* __FPEnvSetRounding)(void *uCalcHandle, FPEnvRoundingEnum Direction); 

            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "FPEnvSetRounding")]

static Int32 FPEnvSetRounding_(void *  uCalcHandle, FPEnvRoundingEnum Direction);
            
Prev | Next