diff options
| author | Dan Gohman <sunfish@mozilla.com> | 2015-05-04 08:08:28 -0700 |
|---|---|---|
| committer | Dan Gohman <sunfish@mozilla.com> | 2015-05-04 08:08:28 -0700 |
| commit | 6410ea4f9a9a62f1c7826c43edb2ee8b90758422 (patch) | |
| tree | c51a3a07f175f0bc02422fde2acdadaf1b380d0c /BinaryEncoding.md | |
| parent | da16032dd83d67a98b57490fe993597d4f1fe8bd (diff) | |
| download | nanowasm-design-6410ea4f9a9a62f1c7826c43edb2ee8b90758422.tar.gz | |
Remove floating-point mod, and rename integer mod to remainder.
Floating-point mod is not in IEEE-754, not implemented in any hardware,
and not in C or C++ or similar languages. It's in asm.js, but probably
only because it's in JS, and it's in JS possibly only because JS Numbers
are intended to be somewhat usable as integers. Floating-point mod does
have use cases, however they can adequately be serviced by the math
library, in whatever form that ends up taking.
This patch also renames integer mod to remainder, since "signed modulus"
in particular is a non-obvious way to describe the mathematic operation
it performs.
Diffstat (limited to 'BinaryEncoding.md')
0 files changed, 0 insertions, 0 deletions
