Skip to content

Releases: krowinski/bcmath-extended

Tag release

25 Jan 21:37
Compare
Choose a tag to compare
  • removed support for php 7.1 7.2 7.3 #43
  • fixed typos #43
  • added code style checkers and phpstan #43
  • added php 8.2 to tests #43
  • used assertSame in test to make assert equals strict (@peter279k Tx!) #44

Tag release

09 Feb 16:00
Compare
Choose a tag to compare
  • fix: removed 0x from hexdec as was causing depreciation warnings #42
  • fix: rounding half even not always returns correct values #41
  • fix: cleanup return values for older php versions that crash on test -0/0
  • added: php 8.1 in tests

Tag release

18 Nov 18:36
Compare
Choose a tag to compare
  • cleanup some old php 5.6 fixes
  • added validation for powMod
  • changed naming and params to be more in self explaining
  • code optimisation

Tag release

11 Sep 07:57
Compare
Choose a tag to compare
  • changed self to static (#36)
  • added ability to trim trailing zeros (#36)
  • little code cleanup
  • added phpunit 8, 9
  • test providers now have strict types

Tag release

01 Sep 09:00
Compare
Choose a tag to compare
  • added half-even rounding (#34 )
  • fix BC::pow with negative fractional exponent (#33 )

Tag release

01 May 12:46
834c41e
Compare
Choose a tag to compare
  • added support for php 7.1 >= (#31, #30 )
  • bcdiv will throw exception if you will try to make division by zero
  • all result have trailing zero removed
  • strict and hints added

Tag release

15 Apr 13:35
Compare
Choose a tag to compare

Fixed trimming of trailing zeros and dot (leaving trailing zeros when no dot present). #29

Tag release

11 Dec 11:06
9d435fd
Compare
Choose a tag to compare
  • added bitwise xor, or and "and" #27
  • readme update #20

Tag release

13 Sep 12:41
171762b
Compare
Choose a tag to compare
  • Added hexdec() and dechex() functions #25

Tag release

03 Aug 21:21
bf0d1d3
Compare
Choose a tag to compare
  • new methods log, exp, fact
  • pow now supports fractional #22
  • fmod - deprected, now we can use mod for floats
  • powFractional - fix for null scale
  • bcmod - completely changes because results where incorrect then expected
  • powMod - better support for floats
  • more test cases (compared with wolframalpha.com)