Skip to content

Releases: krowinski/bcmath-extended

Tag release

27 Feb 20:41

Choose a tag to compare

  • Typo fix GREATER
  • Fix BC::rand() to return value in correct range (was adding 1 instead of $min)
  • Simplify BC::round() implementation
  • Add tests for BC::rand() edge cases and round() trailing zeroes #47

Full Changelog: 8.0.0...8.1.0

Tag release

25 Jun 07:56

Choose a tag to compare

What's Changed

  • refactor and moved to php 8.4. Base on new Numer obj from bc. Resign from own function like ceil, round etc to build in bcmatch. New phpstan and phpunit @krowinski in #46

Full Changelog: 7.0.0...v8.0.0

Tag release

25 Jan 21:37

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

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

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

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

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

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

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

Choose a tag to compare

  • added bitwise xor, or and "and" #27
  • readme update #20