numbers library
Extensions
- DoubleRangeExt on double
- Add range extensions to double.
- IntRangeExt on int
- Add range extensions to int.
- NumRangeExt on num
- Add range extensions to num.
Functions
-
add<
T extends num> (T a, T b) → T -
Function-styled arithmetic operator
+
-
divide<
T extends num> (T a, T b) → double -
Function-styled arithmetic operator
/
-
divideTruncated<
T extends num> (T a, T b) → int -
Function-styled arithmetic operator
~/
-
multiply<
T extends num> (T a, T b) → T -
Function-styled arithmetic operator
*
-
subtract<
T extends num> (T a, T b) → T -
Function-styled arithmetic operator
-