浏览代码

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>
 
 ### `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
 fn is_int<D: Dim>(value: D) -> Bool

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

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