Skip to content

Instantly share code, notes, and snippets.

@JossDev-Morales
Created October 7, 2023 01:58
Show Gist options
  • Save JossDev-Morales/c141217445ad843fc2e18ab1f24d0713 to your computer and use it in GitHub Desktop.
Save JossDev-Morales/c141217445ad843fc2e18ab1f24d0713 to your computer and use it in GitHub Desktop.
Releases Notes for the 1.1.2 version of bignumber.io

Releases Notes -v1.1.2

At this version, nothing really "new" was introduced, new in quotes since the division method was really added, but this method, was already contemplated in the previous versions, but due to errors in this last method, it was decided to remove it from the versions, now it returns and introduces a series of important changes in the version.

Let's go in parts, now with the division method, some things were added, within the same method and outside, now you can pass some small initial configurations to the constructor to control some behaviors of the division, these behaviors are explained in the documentation, within the method were introduced some features to make the method work, such as calculating periodic decimals and length restrictions on answers.

I am also pleased to announce that now the main methods admit negative numbers, now you can add negative and positive numbers to each other, the answers will be in the same fortmate, but now with a negative sign if necessary. :D

Methods that changed

Now these methods support negative numbers.

  • Addition
  • ReturnAddition
  • Subtraction
  • ReturnSubtraction
  • Multiplication
  • ReturnMultiplication
  • Division
  • ReturnDivision

What we gurantees

The use of negative numbers in the main methods including the new not so new division method, control over restriction values within the division method such as the maximum number of decimal places, the maximum number for periodic decimals and control over the division by zero case.

Issues

For now we are not aware of any problem, we are aware of some possible "hot spots" or points of conflict, such as division, its configuration and cases of periodic decimals, since these tend infinite and we have no jurisdiction over the maximum use of decimals, since this would be directly lower the precision of the method, in case of finding any error in this hot spot, you should create an "issue" on GitHub, it will be duly attended.

If you think you have the solution to a problem, just send a pull request, buddy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment