New IO structure, unexpexted error in C code

This commit is contained in:
Nitload
2023-06-22 03:33:24 +08:00
parent 50b4965e54
commit ee8132c149
172 changed files with 1344 additions and 4023 deletions
+5 -9
View File
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Math
{
namespace StgSharp.Math
{
public static unsafe partial class Calc
{
/// <summary>
@@ -31,7 +27,7 @@ namespace StgSharp.Math
{
return 1;
}
if (x==1&&y==0)
if (x == 1 && y == 0)
{
return 1.0f / 0;
}
@@ -44,7 +40,7 @@ namespace StgSharp.Math
z = -z;
}
if (z<0.5f)
if (z < 0.5f)
{
t = 1.0f + z * (
1.0f + z * (
@@ -77,7 +73,7 @@ namespace StgSharp.Math
t = t * t;
}
}
if (sign)
{