Enhanced C#
Language of your choice: library documentation
|
Provides increment, decrement, and next/previous-representable- value operations. More...
Provides increment, decrement, and next/previous-representable- value operations.
T | A numeric type. |
Implementations may or may not detect overflow.
Public Member Functions | |
T | AddOne (T a) |
Returns a + 1. More... | |
T | SubOne (T a) |
Returns a - 1. More... | |
T | NextHigher (T a) |
Returns the next representable number higher than a. More... | |
T | NextLower (T a) |
Returns the next representable number lower than a. More... | |
T Loyc.Math.IIncrementer< T >.AddOne | ( | T | a | ) |
Returns a + 1.
T Loyc.Math.IIncrementer< T >.NextHigher | ( | T | a | ) |
Returns the next representable number higher than a.
T Loyc.Math.IIncrementer< T >.NextLower | ( | T | a | ) |
Returns the next representable number lower than a.
T Loyc.Math.IIncrementer< T >.SubOne | ( | T | a | ) |
Returns a - 1.