mod¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/dot/blob/main/js/util/mod.ts for the most up-to-date information.
Overview¶
Workaround for broken modulo operator. E.g. on iOS9, 1e10 % 1e10 -> 2.65249474e-315 See https://github.com/phetsims/dot/issues/75
@author Chris Malley (cmalley@pixelzoom.com)