Преглед изворни кода

Fixed missing import in combinatorics
Reran docs

Robert Bennett пре 11 месеци
родитељ
комит
9a8a30c325
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 1
      book/src/list-functions-other.md
  2. 1 0
      numbat/modules/math/combinatorics.nbt

+ 1 - 1
book/src/list-functions-other.md

@@ -130,7 +130,7 @@ fn is_nonzero<D: Dim>(value: D) -> Bool
 </details>
 </details>
 
 
 ### `is_int`
 ### `is_int`
-Returns true if the input is an integer number of its units.
+Returns true if the input is an integer. If the input has units, then returns whether it is an integral number of its units.
 
 
 ```nbt
 ```nbt
 fn is_int<D: Dim>(value: D) -> Bool
 fn is_int<D: Dim>(value: D) -> Bool

+ 1 - 0
numbat/modules/math/combinatorics.nbt

@@ -1,5 +1,6 @@
 use core::error
 use core::error
 use core::functions
 use core::functions
+use core::numbers
 use math::transcendental
 use math::transcendental
 
 
 @name("Factorial")
 @name("Factorial")