udpates to math function parameters

pull/192/head
Scott Anderson 2019-04-26 08:27:46 -06:00
parent 640f46b238
commit 2ffd8bc1a7
3 changed files with 6 additions and 6 deletions

View File

@ -18,20 +18,20 @@ _**Output data format:** Object_
```js
import "math"
math.modf(x: 3.14)
math.modf(f: 3.14)
// Returns {int: 3, frac: 0.14000000000000012}
```
## Parameters
### x
### f
The value used in the operation.
_**Data type:** Float_
## Special cases
```js
math.modf(x: ±Inf) // Returns {int: ±Inf, frac: NaN}
math.modf(x: NaN) // Returns {int: NaN, frac: NaN}
math.modf(f: ±Inf) // Returns {int: ±Inf, frac: NaN}
math.modf(f: NaN) // Returns {int: NaN, frac: NaN}
```

View File

@ -27,7 +27,7 @@ The numerator used in the operation.
_**Data type:** Float_
### x
### y
The denominator used in the operation.
_**Data type:** Float_

View File

@ -23,6 +23,6 @@ math.signbit(x: -1.2)
## Parameters
### x
The value used in the operation.
The value used in the evaluation.
_**Data type:** Float_