math library Core
Utilities for performing numeric operations.
Basic numeric operations
Nullable numeric operations
- NullableNumbers - overloaded operators for working with nullable numbers.
- NullableIntegers - overloaded operators for working with nullable integers.
- NullableDoubles - overloaded operators for working with nullable doubles.
Random
- Randoms - functions for using Random
- FakeRandom - a fake Random implementation for testing
Classes
- FakeRandom
- A fake Random implementation that always produces a given sequence of values. It should only be used in tests.
Extensions
- Doubles on double
- Provides functions for working with doubles.
- Integers on int
- Provides functions for working with ints.
- NullableDoubles on double?
- Provides functions for working with nullable doubles, specifically their operator overloads which do not work with the null-aware operator.
- NullableIntegers on int?
- Provides functions for working with nullable ints, specifically their operator overloads which do not work with the null-aware operator.
- NullableNumbers on num?
- Provides functions for working with nullable nums, specifically their operator overloads which do not work with the null-aware operator.
- Randoms on Random
- Provides functions for using Randoms.
Exceptions / Errors
- ArithmeticException
- Thrown when an exceptional arithmetic condition has occurred.