https://github.com/shigma/conway-number
https://github.com/shigma/conway-number
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/shigma/conway-number
- Owner: shigma
- License: mit
- Created: 2018-09-15T15:41:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-16T03:11:05.000Z (almost 8 years ago)
- Last Synced: 2024-11-07T09:46:40.667Z (almost 2 years ago)
- Language: TypeScript
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conway Number
## Usage
```
npm install conway-number
```
```javascript
const conway = require('conway-number') // commonjs
import * as conway from 'conway-number' // esmodule
```
## Basic
- conway.build()
- conway.tree()
- conway.Zero
## Comparison
- conway.ge()
- conway.le()
- conway.greater()
- conway.less()
- conway.equal()
- conway.fuzzy()
- conway.compare()
- conway.isPos()
- conway.isNeg()
- conway.isZero()
## Arithmetic
- conway.add()
- conway.sub()
- conway.multiply()
- conway.negative()
## Class
- conway.Dyadic
- conway.Impartial
## Evaluation
- conway.eval()