Member: jj5

Username: jj5
Full name: John Elliot
Nickname: John
Web-site: www.jj5.net
Joined: 2011-12-21

Function contributions

Function Version Date Summary
2012-04-10 11:49 Tagging bcmod during demo.
2012-03-17 02:54 Removing logging statements.
2012-03-17 02:09 Updating comment.
2012-03-17 00:21 Fixing rounding precision test.
2012-03-17 00:20 Just testing...
2012-03-17 00:18 Just testing...
2012-03-17 00:15 Just testing...
2012-03-17 00:11 Just testing...
2012-03-17 00:07 Just testing...
2012-03-17 00:05 Just testing...
2012-03-17 00:03 Just testing...
2012-03-17 00:01 Just testing...
2012-03-16 23:58 Just testing...
2012-03-16 23:55 Just testing...
2012-03-16 23:53 Just testing...
2012-03-16 23:50 Fixing comment.
2012-03-16 23:49 Just testing...
2012-03-16 23:44 Just testing...
2012-03-16 23:19 Fixing syntax errors.
2012-03-16 23:17 Fixing use of modulus operator '%' by adding support for rounding.
2012-03-16 22:56 Just testing...
2012-03-16 22:54 Just testing...
2012-03-16 22:53 Just testing...
2012-03-16 22:44 Just testing...
2012-03-16 22:43 Subtracting 1 from read_length.
2012-03-16 22:39 Fixing custom rounding and setting number of decimal places.
2012-03-16 22:38 Just testing...
2012-03-16 22:36 Just testing...
2012-03-16 22:36 Setting number of decimal places.
2012-03-16 22:33 Removing leading zero on decimal part.
2012-03-16 22:32 Custom rounding.
2012-03-16 22:26 Custom rounding.
2012-03-16 22:24 Custom rounding.
2012-03-16 22:05 Working on rounding...
2012-03-16 21:52 Rounding to 13 decimal places.
2012-03-16 21:50 Trying to get rounding right.
2012-03-16 21:34 Trying to get rounding right.
2012-03-16 21:30 Just removing rounding to get previous results.
2012-03-16 21:29 Just testing...
2012-03-16 21:20 Testing Math.round to three decimal places.
2012-03-16 21:17 Increasing take.
2012-03-16 21:11 Fixing bug with missing power of 10, and reducing take.
2012-03-16 21:08 Testing for modulus === 0.
2012-03-16 21:05 Fixing typo, 'last_operand' should have been 'left_operand'.
2012-03-16 21:04 Working on arbitrary precision decimal for left_operand and native decimal for modulus.
2012-03-16 20:56 Fixing imbalanced parens syntax error.
2012-03-16 20:52 Having a go at arbitrary precision for left_operand.
2012-03-16 20:18 Rounding modulus.
2012-03-16 20:16 Fixing test for zero modulus (test < 1).
2012-03-16 20:15 Just testing...
2012-03-16 20:14 Just testing...
2012-03-16 20:03 Returning null for zero modulus.
2012-03-16 19:59 Adding note and reading more digits.
2012-03-16 19:54 Reverting to no support for fractional modulus.
2012-03-16 19:51 Switching result from string to float.
2012-03-16 19:46 Swtiching to parseFloat for modulus.
2012-03-16 19:45 Switching to parseDouble for modulus.
2012-03-16 19:31 Reading less data to test soundness of algorithm.
2012-03-16 19:27 New bcmod implementation based on my_bcmod here: http://php.net/manual/en/function.bcmod.php
2011-12-27 16:49 Adding test for UTF-16 string.
2011-12-27 16:38 Actually removed UTF-* decoding. :P
2011-12-27 16:33 Making sure data is a string.
2011-12-27 16:30 Removed UTF-8 decoding.
2011-12-27 16:27 Removing UTF-8 encoding.
2011-12-27 15:20 Putting utf8_decode back.
2011-12-27 15:20 Putting utf8_encode back.
2011-12-27 15:17 Removing utf8_decode.
2011-12-27 15:15 Removing utf8_encode.

Test contributions

Function Version Date Summary
2016-05-05 18:27 boilerplate...
2012-04-19 05:44 Copying in test.
2012-04-19 04:08 Heh. Don't know what year it is. :P
2012-04-19 04:07 Dunno how useful this is.
2012-04-19 04:04 Copying in first test.
2012-03-28 10:54 Fixing formatting.
2012-03-17 00:25 Updating bcmod_test to take modulus '%' result expectation.
2012-03-16 23:05 Added bcmod_test function and more fractional modulus tests.
2012-03-16 22:59 Adding 3 % 0.1 test.
2012-03-16 22:51 Adding labels.
2012-03-16 21:54 Adding test label.
2012-03-16 21:28 Addin label for fractional modulus test.
2012-03-16 21:26 Testing zero modulus and fractional modulus.
2012-03-16 21:16 Adding extra basic modulus tests.
2012-03-16 20:13 Adding labels for zero modulus tests.
2012-03-16 20:10 Adding tests for zero modulus and modulus rounding.
2012-03-16 20:01 Testing negative left_operand.
2012-03-16 19:55 Documenting lack of support for fractional modulus.
2012-03-16 19:42 Adding fractional modulus test.
2012-03-16 19:41 Removing bcadd test.
2012-03-16 19:41 Adding test that highlights treatment of commas.
2012-03-16 19:36 Just testing bcadd's treatment of commas.
2012-03-16 19:30 Adding first unit tests.
2011-12-30 00:10 Fixing array expectation.
2011-12-30 00:09 Fixing syntax error.
2011-12-30 00:07 Examples as tests.
2011-12-27 17:00 Fixing exception expectation message.
2011-12-27 16:58 Adding check for coding exception.
2011-12-27 16:47 Doing more cycle tests.
2011-12-27 16:46 Fixing up cycle test.
2011-12-27 16:44 Just hacking on the tests...
2011-12-27 16:41 Adding UTF-8 decoding.
2011-12-27 16:39 Cycle UTF-8 encoded and raw value.
2011-12-27 16:37 Adding comment.
2011-12-27 16:35 Cycle UTF-8 test.
2011-12-27 16:25 Doing UTF-8 encoding before call to base64_encode.
2011-12-27 16:15 Adding string length data.
2011-12-27 15:11 Adding cycle encode/decode tests.
2011-12-27 15:03 Fixed typo.
2011-12-27 15:03 Added some edge cases and some Japanese.
2011-12-25 03:43 Removing 'all pass' test.
2011-12-25 03:43 deepEqual for array comparison.
2011-12-25 03:41 Fix bug. Call keys.
2011-12-25 03:40 Porting examples as tests.
2011-12-25 02:22 Fixing expectation...
2011-12-25 02:20 Switching expected and result values.
2011-12-25 02:20 Hacking on tests...
2011-12-25 02:18 Just trying to get the test to pass...
2011-12-25 02:05 Porting example as test.

Comments

Subject Date
: Demo 2012-09-13 10:59
: Demo 2012-09-13 10:55
: Demo 2012-09-13 10:50
: Demo 2012-08-19 05:06
: Demo 2012-08-19 05:03
: Demo 2012-08-09 12:38
: Demo 2012-07-15 07:19
: array_intersect_uassoc version 18 2012-04-19 04:02
: Demo 2012-04-10 11:55
: Demo 2012-04-10 11:34
: Demo 2012-04-10 11:33
: base64_encode version 460 2011-12-27 17:08
: array version 178 2011-12-26 03:17
: Home 2011-12-22 08:22
: Contributors 2011-12-22 05:49
: Contributors 2011-12-21 12:58

ProgClub

ProgClub is a club for computer programmers, and we created the www.jsphp.com website. Come hang out with us if you'd like. :)

phpjs.org

phpjs.org is the upstream source for the JsPHP JavaScript library that provides the PHP API.

Blackbrick

Blackbrick is an Australian technology company that graciously pays to host www.jsphp.com. If you're looking to employ expert JavaScript programmers to help you with your project feel free to get in contact with Blackbrick who may be able to help you out.