}
[Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/69795", TestRuntimes.Mono)]
public static void CreateCheckedFromUIntPtrTest()
{
if (Environment.Is64BitProcess)
}
[Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/69795", TestRuntimes.Mono)]
public static void CreateSaturatingFromUIntPtrTest()
{
if (Environment.Is64BitProcess)
}
[Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/69795", TestRuntimes.Mono)]
public static void CreateTruncatingFromUIntPtrTest()
{
if (Environment.Is64BitProcess)
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromDoubleTest()
{
Assert.Equal((long)0x0000_0000_0000_0000, NumberBaseHelper<long>.CreateChecked<double>(+0.0));
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromNFloatTest()
{
Assert.Equal((long)0x0000_0000_0000_0000, NumberBaseHelper<long>.CreateChecked<NFloat>(+0.0f));
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromSingleTest()
{
Assert.Equal((long)0x0000_0000_0000_0000, NumberBaseHelper<long>.CreateChecked<float>(+0.0f));
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromDoubleTest()
{
Assert.Equal((nint)0x0000_0000, NumberBaseHelper<nint>.CreateChecked<double>(+0.0));
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromNFloatTest()
{
Assert.Equal((nint)0x0000_0000, NumberBaseHelper<nint>.CreateChecked<NFloat>(+0.0f));
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromSingleTest()
{
Assert.Equal((nint)0x0000_0000, NumberBaseHelper<nint>.CreateChecked<float>(+0.0f));
}
[Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/69795", TestRuntimes.Mono)]
public static void CreateCheckedFromUIntPtrTest()
{
if (Environment.Is64BitProcess)
}
[Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/69795", TestRuntimes.Mono)]
public static void CreateSaturatingFromUIntPtrTest()
{
if (Environment.Is64BitProcess)
}
[Fact]
- [ActiveIssue("https://github.com/dotnet/runtime/issues/69795", TestRuntimes.Mono)]
public static void CreateTruncatingFromUIntPtrTest()
{
if (Environment.Is64BitProcess)
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromDoubleTest()
{
Assert.Equal((ulong)0x0000_0000_0000_0000, NumberBaseHelper<ulong>.CreateChecked<double>(+0.0));
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromNFloatTest()
{
Assert.Equal((ulong)0x0000_0000_0000_0000, NumberBaseHelper<ulong>.CreateChecked<NFloat>(0.0f));
}
[Fact]
- [SkipOnMono("https://github.com/dotnet/runtime/issues/69795")]
public static void CreateCheckedFromSingleTest()
{
Assert.Equal((ulong)0x0000_0000_0000_0000, NumberBaseHelper<ulong>.CreateChecked<float>(+0.0f));
ins->type = STACK_R8;
switch (src1->type) {
case STACK_I4:
+#if TARGET_SIZEOF_VOID_P == 4
case STACK_PTR:
+#endif
ins->opcode = OP_ICONV_TO_R_UN;
break;
case STACK_I8:
+#if TARGET_SIZEOF_VOID_P == 8
+ case STACK_PTR:
+#endif
ins->opcode = OP_LCONV_TO_R_UN;
break;
case STACK_R4: