You are not logged in.
Login
or
Register
.
JsPHP: a JavaScript library providing the PHP API
Home
Register
Demo
Categories
Functions
Contributors
Download
Links
Comments
FAQ
Contact
View
Edit
Test
Benchmark
Revisions
Diff
Developers
Dependencies
Talk
Links
bcmod:
Diff code: bcmod
Function:
bcmod
View bcmod
Edit bcmod
Edit code
Edit tests
Edit benchmark
View latest code
Edit latest code
View latest tests
Edit latest tests
Test latest version
Benchmark bcmod
Comment on bcmod
Comment on the latest code
Comment on the latest tests
View revisions
View versions
View tests
Diff versions
Diff tests
View contributors
View dependencies
View comments
View links
Download production code
Download development code
Download latest tests
Description:
Get the modulus of the left_operand using modulus.
Version A:
521: Tagging bcmod during demo.
520: Tagging bcmod during demo.
519: Removing logging statements.
518: Updating comment.
517: Fixing rounding precision test.
516: Just testing...
515: Just testing...
514: Just testing...
513: Just testing...
512: Just testing...
511: Just testing...
510: Just testing...
509: Just testing...
508: Just testing...
507: Just testing...
506: Just testing...
505: Fixing comment.
504: Just testing...
503: Just testing...
502: Fixing syntax errors.
501: Fixing use of modulus operator '%' by adding support for rounding.
500: Just testing...
499: Just testing...
498: Just testing...
497: Just testing...
496: Subtracting 1 from read_length.
495: Fixing custom rounding and setting number of decimal places.
494: Just testing...
493: Just testing...
492: Setting number of decimal places.
491: Removing leading zero on decimal part.
490: Custom rounding.
489: Custom rounding.
488: Custom rounding.
487: Working on rounding...
486: Rounding to 13 decimal places.
485: Trying to get rounding right.
484: Trying to get rounding right.
483: Just removing rounding to get previous results.
482: Just testing...
481: Testing Math.round to three decimal places.
480: Increasing take.
479: Fixing bug with missing power of 10, and reducing take.
478: Testing for modulus === 0.
477: Fixing typo, 'last_operand' should have been 'left_operand'.
476: Working on arbitrary precision decimal for left_operand and native decimal for modulus.
475: Fixing imbalanced parens syntax error.
474: Having a go at arbitrary precision for left_operand.
473: Rounding modulus.
472: Fixing test for zero modulus (test < 1).
471: Just testing...
470: Just testing...
469: Returning null for zero modulus.
468: Adding note and reading more digits.
467: Reverting to no support for fractional modulus.
466: Switching result from string to float.
465: Swtiching to parseFloat for modulus.
464: Switching to parseDouble for modulus.
463: Reading less data to test soundness of algorithm.
462: New bcmod implementation based on my_bcmod here: http://php.net/manual/en/function.bcmod.php
Version B:
521: Tagging bcmod during demo.
520: Tagging bcmod during demo.
519: Removing logging statements.
518: Updating comment.
517: Fixing rounding precision test.
516: Just testing...
515: Just testing...
514: Just testing...
513: Just testing...
512: Just testing...
511: Just testing...
510: Just testing...
509: Just testing...
508: Just testing...
507: Just testing...
506: Just testing...
505: Fixing comment.
504: Just testing...
503: Just testing...
502: Fixing syntax errors.
501: Fixing use of modulus operator '%' by adding support for rounding.
500: Just testing...
499: Just testing...
498: Just testing...
497: Just testing...
496: Subtracting 1 from read_length.
495: Fixing custom rounding and setting number of decimal places.
494: Just testing...
493: Just testing...
492: Setting number of decimal places.
491: Removing leading zero on decimal part.
490: Custom rounding.
489: Custom rounding.
488: Custom rounding.
487: Working on rounding...
486: Rounding to 13 decimal places.
485: Trying to get rounding right.
484: Trying to get rounding right.
483: Just removing rounding to get previous results.
482: Just testing...
481: Testing Math.round to three decimal places.
480: Increasing take.
479: Fixing bug with missing power of 10, and reducing take.
478: Testing for modulus === 0.
477: Fixing typo, 'last_operand' should have been 'left_operand'.
476: Working on arbitrary precision decimal for left_operand and native decimal for modulus.
475: Fixing imbalanced parens syntax error.
474: Having a go at arbitrary precision for left_operand.
473: Rounding modulus.
472: Fixing test for zero modulus (test < 1).
471: Just testing...
470: Just testing...
469: Returning null for zero modulus.
468: Adding note and reading more digits.
467: Reverting to no support for fractional modulus.
466: Switching result from string to float.
465: Swtiching to parseFloat for modulus.
464: Switching to parseDouble for modulus.
463: Reading less data to test soundness of algorithm.
462: New bcmod implementation based on my_bcmod here: http://php.net/manual/en/function.bcmod.php
Diff