Add doc notes on IEEE 754-2008 and floating-point oddness. [ci skip]

This commit is contained in:
Xotic750
2015-10-21 15:38:23 +02:00
committed by John-David Dalton
parent 35c6db1289
commit ff22efb3e2

View File

@@ -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