mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Add doc notes on IEEE 754-2008 and floating-point oddness. [ci skip]
This commit is contained in:
committed by
John-David Dalton
parent
35c6db1289
commit
ff22efb3e2
@@ -10946,6 +10946,9 @@
|
|||||||
* If `floating` is `true`, or either `min` or `max` are floats, a floating-point
|
* If `floating` is `true`, or either `min` or `max` are floats, a floating-point
|
||||||
* number is returned instead of an integer.
|
* number is returned instead of an integer.
|
||||||
*
|
*
|
||||||
|
* **Note:** JavaScript follows the IEEE 754-2008 standard for resolving
|
||||||
|
* floating-point values which can produce unexpected results.
|
||||||
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Number
|
* @category Number
|
||||||
@@ -12392,6 +12395,9 @@
|
|||||||
* set to `start` with `start` then set to `0`. If `end` is less than `start`
|
* set to `start` with `start` then set to `0`. If `end` is less than `start`
|
||||||
* a zero-length range is created unless a negative `step` is specified.
|
* a zero-length range is created unless a negative `step` is specified.
|
||||||
*
|
*
|
||||||
|
* **Note:** JavaScript follows the IEEE 754-2008 standard for resolving
|
||||||
|
* floating-point values which can produce unexpected results.
|
||||||
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
* @category Utility
|
* @category Utility
|
||||||
|
|||||||
Reference in New Issue
Block a user