@@ -86,13 +86,13 @@ export const createCeil = /* #__PURE__ */ factory(name, dependencies, ({ typed,
8686 * math.ceil(-4.782, 2) // returns number -4.78
8787 *
8888 * const c = math.complex(3.24, -2.71)
89- * math.ceil(c) // returns Complex 4 - 2i
89+ * math.ceil(c) // returns Complex 4 - 2i ...
9090 * math.ceil(c, 1) // returns Complex 3.3 - 2.7i
9191 *
9292 * const unit = math.unit('3.241 cm')
9393 * const cm = math.unit('cm')
9494 * const mm = math.unit('mm')
95- * math.ceil(unit, 1, cm) // returns Unit 3.3 cm
95+ * math.ceil(unit, 1, cm) // returns Unit 3.3 cm ...
9696 * math.ceil(unit, 1, mm) // returns Unit 32.5 mm
9797 *
9898 * math.ceil([3.2, 3.8, -4.7]) // returns Array [4, 4, -4]
@@ -102,6 +102,14 @@ export const createCeil = /* #__PURE__ */ factory(name, dependencies, ({ typed,
102102 *
103103 * floor, fix, round
104104 *
105+ * History:
106+ *
107+ * v14 Handle Units
108+ * v7.4 Allow second "precision" argument
109+ * v5.7 Support tolerance for round-off errors
110+ * v2 Handle Fractions
111+ * v0.1 Created
112+ *
105113 * @param {number | BigNumber | Fraction | Complex | Unit | Array | Matrix } x Value to be rounded
106114 * @param {number | BigNumber | Array } [n=0] Number of decimals
107115 * @param {Unit } [valuelessUnit] A valueless unit
0 commit comments