Daily update on 20230204 by nitload youmu, pow func added

This commit is contained in:
Nitload
2023-02-05 09:41:05 +08:00
parent f75fcacc0d
commit 19a1420b2f
42 changed files with 202 additions and 69 deletions
+10 -1
View File
@@ -24,7 +24,16 @@ namespace StgSharp
* 在进一步简化操作后,计算精度达到0.5%,速度约为.Net库函数的1.8倍
*/
/*
if (x < 0)
{
throw new ArgumentOutOfRangeException();
}
if (x == 0)
{
return 0;
}
/*
* 提取指数位并减去指数位中的127
* 由于平方根仅对正数有效
* 故不考虑正负号