MCPcopy Index your code
hub / github.com/LiuXin-Developer/easyMath

github.com/LiuXin-Developer/easyMath @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
7 symbols 17 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

JavaScript的基础计算库

计算方法 方法名 别名
加法 addition jiafa,jia
减法 subtraction jianfa,jian
乘法 multiplication chengfa,cheng
除法 division chufa,chu
科学计数法 scientificNotationToString /

基本使用

// 全量引入
import soeasymath from "soeasymath"
// 按需引入
import { subtraction } from "soeasymath"
加法
import { addition } from "soeasymath"
console.log(addition(0.1,0.2,0.3....))
减法
import { subtraction } from "soeasymath"
console.log(subtraction(0.1,0.2,0.3....))
乘法
import { multiplication } from "soeasymath"
console.log(multiplication(0.1,0.2,0.3....))
除法
import { division } from "soeasymath"
console.log(division(0.1,0.2,0.3....))
使用别名
import { jiafa } from "soeasymath"
console.log(jiafa(0.1,0.2,0.3....))
科学计数法
import { scientificNotationToString } from "soeasymath"
console.log(scientificNotationToString(0.000000000000001))

Core symbols most depended-on inside this repo

toInteger
called by 7
src/index.js
getMaxDecimalDigits
called by 4
src/index.js
scientificNotationToString
called by 2
src/index.js
division
called by 0
src/index.js
multiplication
called by 0
src/index.js
subtraction
called by 0
src/index.js
addition
called by 0
src/index.js

Shape

Function 7

Languages

TypeScript100%

Modules by API surface

src/index.js7 symbols

For agents

$ claude mcp add easyMath \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact