Enhanced C#
Language of your choice: library documentation

Documentation moved to ecsharp.net

GitHub doesn't support HTTP redirects, so you'll be redirected in 3 seconds.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | List of all members
Loyc.Math.IIncrementer< T > Interface Template Reference

Provides increment, decrement, and next/previous-representable- value operations. More...


Source file:
Inheritance diagram for Loyc.Math.IIncrementer< T >:
Loyc.Math.IMath< T > Loyc.Math.ISignedMath< T > Loyc.Math.IUIntMath< T > Loyc.Math.IIntMath< T > Loyc.Math.IRationalMath< T > Loyc.Math.MathU Loyc.Math.MathU16 Loyc.Math.MathU8 Loyc.Math.MathUL Loyc.Math.MathI Loyc.Math.MathI16 Loyc.Math.MathI8 Loyc.Math.MathL Loyc.Math.IFloatMath< T > Loyc.Math.MathF16 Loyc.Math.MathF23 Loyc.Math.MathF8 Loyc.Math.MathFL16 Loyc.Math.MathFL32

Remarks

Provides increment, decrement, and next/previous-representable- value operations.

Template Parameters
TA numeric type.

Implementations may or may not detect overflow.

Public Member Functions

AddOne (T a)
 Returns a + 1. More...
 
SubOne (T a)
 Returns a - 1. More...
 
NextHigher (T a)
 Returns the next representable number higher than a. More...
 
NextLower (T a)
 Returns the next representable number lower than a. More...
 

Member Function Documentation

T Loyc.Math.IIncrementer< T >.AddOne ( a)
T Loyc.Math.IIncrementer< T >.NextHigher ( a)
T Loyc.Math.IIncrementer< T >.NextLower ( a)
T Loyc.Math.IIncrementer< T >.SubOne ( a)