mirror of
https://github.com/apple/swift-numerics
synced 2026-11-26 04:57:53 +00:00
Cleanup.
This commit is contained in:
1 parent
c26e60c6ba
commit
694e5ae6de
1 file changed
+1
-2
@@ -87,8 +87,7 @@ extension Float16 {
|
||||
let u = Float16(1).nextUp
|
||||
let d = Float16(1).nextDown
|
||||
// Smallest exponents not exactly representable as Float16.
|
||||
assertClose(-7.3890572722436554354625993393835304, Float16.pow(-u, 0x801 as Int))
|
||||
print(Float16.pow(-u, 0x801))
|
||||
assertClose(-7.3890572722436554354625993393835304, Float16.pow(-u, 0x801))
|
||||
assertClose(-0.3676100238077049750885141244927184, Float16.pow(-d, 0x801))
|
||||
// Exponents close to overflow boundary.
|
||||
assertClose( 65403.86633107, Float16.pow(-u, 11360))
|
||||
|
||||
Reference in new issue
Block a user