Function toFloat [src]
Prototype
pub fn toFloat(self: F80) f80
Parameters
self: F80
Source
pub fn toFloat(self: F80) f80 {
const int = (@as(u80, self.exp) << 64) | self.fraction;
return @as(f80, @bitCast(int));
}
pub fn toFloat(self: F80) f80
self: F80
pub fn toFloat(self: F80) f80 {
const int = (@as(u80, self.exp) << 64) | self.fraction;
return @as(f80, @bitCast(int));
}