mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update tests after removal of DoubleWidth
This commit is contained in:
@@ -105,11 +105,14 @@ FloatingPoint.test("BinaryFloatingPoint/genericIntegerConversion") {
|
||||
expectEqual(Float._convert(from: Int64.max).value, Float(Int64.max))
|
||||
expectEqual(Float._convert(from: Int64.min).value, Float(Int64.min))
|
||||
|
||||
// FIXME: DoubleWidth is no longer part of the standard library
|
||||
#if false
|
||||
expectEqual(Float._convert(from: DoubleWidth<UInt64>.max).value, .infinity)
|
||||
expectEqual(
|
||||
Float._convert(from: DoubleWidth<DoubleWidth<Int64>>.max).value, .infinity)
|
||||
expectEqual(
|
||||
Float._convert(from: DoubleWidth<DoubleWidth<Int64>>.min).value, -.infinity)
|
||||
#endif
|
||||
}
|
||||
|
||||
FloatingPoint.test("BinaryFloatingPoint/genericFloatingPointConversion") {
|
||||
|
||||
Reference in New Issue
Block a user