Skip to content

Commit

Permalink
α 1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Naruyoko committed Aug 20, 2020
1 parent 7f90fef commit 872584a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ExpantaNum.js
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@
}else if (x.layer&&x.array.length==1&&x.array[0][0]===0){
x.layer--;
if (x.array[0][1]===0) x.array=[[0,10]];
else x.array=[[0,10],[Math.floor(x.array[0][1]),1]];
else x.array=[[0,10],[Math.round(x.array[0][1]),1]];
b=true;
}
if (x.array.length<ExpantaNum.maxOps&&x.array[0][0]!==0) x.array.unshift([0,10]);
Expand Down
2 changes: 1 addition & 1 deletion ExpantaNum.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ![ExpantaNum.js](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/ExpantaNumJS.png) ![α](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/alpha.png) ![1](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/1.png) ![.](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/dot.png) ![3](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/3.png) ![.](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/dot.png) ![6](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/6.png)
# ![ExpantaNum.js](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/ExpantaNumJS.png) ![α](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/alpha.png) ![1](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/1.png) ![.](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/dot.png) ![3](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/3.png) ![.](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/dot.png) ![7](https://raw.githubusercontent.com/Naruyoko/ExpantaNum.js/non-code/7.png)
[![NPM](https://img.shields.io/npm/v/expanta_num.js.svg)](https://www.npmjs.com/package/expanta_num.js)
A huge number library holding up to {10,9e15,1,2}.

Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# α 1.3.7 - 2020/08/19
* Changed the rounding of expanding a layer of `10{x}10` with fractional operator from floor to round.

# α 1.3.6 - 2020/08/07
* Fixed hang on `J<fraction>`.
* Fixed decimal array element.
Expand Down

0 comments on commit 872584a

Please sign in to comment.