Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeanDragon/protools
/ pow
Method
pow
common/src/main/java/pro/tools/data/decimal/Decimal.java:209–212 ·
view source on GitHub ↗
幂运算 @param n 幂数 @return 结果
(int n)
Source
from the content-addressed store, hash-verified
207
* @
return
结果
208
*/
209
public
Decimal pow(
int
n) {
210
this.bigDecimal = this.bigDecimal.pow(n, mathContext);
211
return
this;
212
}
213
214
/**
215
* 开平方
Callers
3
SM2
Class · 0.80
checkPublicKey
Method · 0.80
sqrtN
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected