Skip to content

Commit

Permalink
0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Naruyoko committed May 23, 2020
1 parent 3e5afa7 commit 09a7e6c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions OmegaNum.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@
if (payload.neq(OmegaNum.ONE)) other=other.add(payload.slog(t));
if (OmegaNum.debug>=OmegaNum.NORMAL) console.log(t+"^^"+other);
var negln;
if (t.isNaN()||other.isNaN()||payload.isNaN()) return OmegaNum.NaN.clone();
if (other.isInfinite()&&other.sign>0){
if (t.gte(Math.exp(1/Math.E))) return OmegaNum.POSITIVE_INFINITY.clone();
//Formula for infinite height power tower.
Expand Down
2 changes: 1 addition & 1 deletion OmegaNum.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 @@
# ![OmegaNum.js](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/OmegaNumJS.png) ![0](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/0.png) ![.](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/dot.png) ![5](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/5.png) ![.](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/dot.png) ![1](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/1.png)
# ![OmegaNum.js](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/OmegaNumJS.png) ![0](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/0.png) ![.](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/dot.png) ![5](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/5.png) ![.](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/dot.png) ![2](https://raw.githubusercontent.com/Naruyoko/OmegaNum.js/non-code/2.png)
[![NPM](https://img.shields.io/npm/v/omega_num.js.svg)](https://www.npmjs.com/package/omega_num.js)
A huge number library holding up to 10{1000}9e15.

Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.5.2 - 2020/05/23
* Fixed `tetr` and up returning non-`NaN` for special cases involving `NaN`.

# 0.5.1 - 2020/05/10
* Very small optimizations.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "omega_num.js",
"version": "0.5.1",
"version": "0.5.2",
"description": "A JavaScript library that handles arithmetic for numbers as large as 10{1000}9e15.",
"main": "OmegaNum.js",
"scripts": {
Expand Down

0 comments on commit 09a7e6c

Please sign in to comment.