mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
More extern constraints work
This commit is contained in:
parent
d35ef0e1e8
commit
35505d905a
7 changed files with 34 additions and 10 deletions
|
@ -443,7 +443,7 @@ namespace System
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*public static int Sign<T>(T value) where int : operator T <=> T, ICanBeNaN
|
||||
public static int Sign<T>(T value) where int : operator T <=> T where T : ICanBeNaN
|
||||
{
|
||||
if (value < default)
|
||||
return -1;
|
||||
|
@ -453,7 +453,7 @@ namespace System
|
|||
return 0;
|
||||
|
||||
Runtime.FatalError("Cannot be used on NaN");
|
||||
}*/
|
||||
}
|
||||
|
||||
public static int32 DivRem(int32 a, int32 b, out int32 result)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue