SetMath Function | |
Return and optionally change the setting that determines the internal operational characteristics of the underlying floating-point system.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION SetMath() AS DWORD
public static uint SetMath()
Request Example
View SourceReturn Value
Type:
DWord
If
nNewSetting is not specified, SetMath() returns the current setting.
If
nNewSetting is specified, the previous setting is returned.
Remarks Examples
This example uses SetMath() to check the current setting against a value of 486:
1IF SetMath() != 486
2 ? "Not a 486 unit"
3ENDIF
See Also