1
0
forked from Mirror/wren

Clarify modulus documentation for sign

closes #695
This commit is contained in:
Sven Bergström
2019-09-17 22:27:47 -07:00
committed by GitHub
parent 0e67667010
commit fa2a3d9576

View File

@ -134,8 +134,11 @@ not a number. Wren doesn't roll with implicit conversions.
### **%**(denominator) operator
Also known as mod or modulus.
The floating-point remainder of this number divided by `denominator`.
The returned value has the same sign as `this` (internally calls `fmod` from C).
It is a runtime error if `denominator` is not a number.
### **<**(other), **>**(other), **<=**(other), **>=**(other) operators