sincerely
Singaporean
If you have not done so, read this full tutorial on how to use SGEXTN to build an application.
class SGLIntMath;
part of SGEXTN module SG_Math
static function class providing int mathematical operations
list of all including inherited members
preprocessor file inclusion directive: #include ‹SGLIntMath.h›
CMake target for BuildLah: SGEXTN::SG_Math
see this link for more information about BuildLah
parent class: (none)
children classes: (none)
static int absoluteValue(int x);
static int highestCommonFactor(int a, int b);
static int lowestCommonMultiple(int a, int b);
static int maximum(int a, int b);
static int minimum(int a, int b);
SGLIntMath provides mathematical operations such as highest common factor and lowest common multiple for the int data type.
Uses ‹cmath› from Standard Template Library
Returns the absolute value of x.
Returns the highest common factor of a and b.
Returns the lowest common multiple of a and b.
Returns the maximum of a and b.
Returns the minimum of a and b.
©2025 05524F.sg (Singapore)