This commit is contained in:
LDj3SNuD 2019-09-11 19:36:02 +02:00 committed by GitHub
parent bacda14599
commit bcb50f0ef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1302,13 +1302,13 @@ namespace ARMeilleure.Instructions
throw new ArgumentException(nameof(size));
}
#endregion
#endregion
#region "MaxMin"
#region "MaxMin"
public static long MaxS64(long val1, long val2) => (val1 >= val2) ? val1 : val2;
public static ulong MaxU64(ulong val1, ulong val2) => (val1 >= val2) ? val1 : val2;
public static long MinS64(long val1, long val2) => (val1 <= val2) ? val1 : val2;
public static ulong MinU64(ulong val1, ulong val2) => (val1 <= val2) ? val1 : val2;
#endregion
#endregion
}
}