OpenSpace3D libs
OpenSpace 3D libraries for plugITs and OS3D developer
|
Loading...
Searching...
No Matches
Common tools
Functions | |
isSmallerI (s, t) | |
Test if an int is smaller than another int. | |
isLargerI (s, t) | |
Test if a int is larger than another int. | |
isSmallerF (s, t) | |
Test if an float is smaller than another float. | |
isLargerF (s, t) | |
Test if a float is larger than another float. | |
suppDoublon2 (s1, s2) | |
Test if a value is equal to another value. | |
Detailed Description
Common tools
Function Documentation
◆ isSmallerI()
isSmallerI | ( | s | , |
t | |||
) |
Test if an int is smaller than another int.
Use with quicksort function
Prototype: fun [I I] I
- Parameters
-
I : first int to test I : second int to test
- Returns
- I : 1 if smaller -1 otherwise
◆ isLargerI()
isLargerI | ( | s | , |
t | |||
) |
Test if a int is larger than another int.
Use with quicksort function 0 Prototype: fun [I I] I
- Parameters
-
I : first int to test I : second int to test
- Returns
- I : 1 if larger -1 otherwise
◆ isSmallerF()
isSmallerF | ( | s | , |
t | |||
) |
Test if an float is smaller than another float.
Use with quicksort function
Prototype: fun [F F] I
- Parameters
-
F : first float to test F : second float to test
- Returns
- I : 1 if smaller -1 otherwise
◆ isLargerF()
isLargerF | ( | s | , |
t | |||
) |
Test if a float is larger than another float.
Use with quicksort function 0 Prototype: fun [F F] I
- Parameters
-
F : first float to test F : second float to test
- Returns
- I : 1 if larger -1 otherwise
◆ suppDoublon2()
suppDoublon2 | ( | s1 | , |
s2 | |||
) |
Test if a value is equal to another value.
Use with quicksort function
Prototype: fun [u0 u0] I
- Parameters
-
u0 : first value to test u0 : second value to test
- Returns
- I : 1 if not equal 0 otherwise
Generated by 1.9.8