mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +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
|
||||
* 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
|
||||
* @memberOf _
|
||||
* @category Number
|
||||
@@ -12392,6 +12395,9 @@
|
||||
* 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.
|
||||
*
|
||||
* **Note:** JavaScript follows the IEEE 754-2008 standard for resolving
|
||||
* floating-point values which can produce unexpected results.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @category Utility
|
||||
|
||||
Reference in New Issue
Block a user