enmergent commit on 20230213 by nitload youmu, recovery of math functions

This commit is contained in:
Nitload
2023-02-13 19:17:33 +08:00
parent 35cf242e7a
commit d7bee7cab0
18 changed files with 176 additions and 36 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Math
namespace StgSharp
{
public static unsafe partial class Calc
public static unsafe partial class Math
{
/// <summary>
/// calculate the value of x^y
@@ -35,7 +35,7 @@ namespace StgSharp.Math
{
return 1.0f / 0;
}
z = StgSharp.Math.Calc.Log(x) * y;
z = StgSharp.Math.Log(x) * y;
bool sign = false;
if (z < 0)