Chore: Listing common modulo modes inline...

...instead of copying the table from the documentation to the definition
file. There are already definitions for these  modes in the RoundingMode
enum.
This commit is contained in:
Joseph Rossi 2015-04-21 06:01:54 -04:00
parent d9a0cbb020
commit bd7a78fcfe

View File

@ -172,7 +172,7 @@ declare module decimal {
*
* The remainder, r, is calculated as: r = a - n * q.
*
* The modes that are most commonly used for the modulus/remainder operation are shown in the following table. Although the other rounding modes can be used, they may not give useful results.
* The modes that are most commonly used for the modulus/remainder operation are ROUND_UP, ROUND_DOWN, ROUND_FLOOR, ROUND_HALF_EVEN, and EUCLID. Although the other rounding modes can be used, they may not give useful results.
*/
modulo?: RoundingMode;