pub fn fromFloat(x: f80) F80
x: f80
1756 1757 1758 1759 1760 1761 1762
pub fn fromFloat(x: f80) F80 { const int = @as(u80, @bitCast(x)); return .{ .fraction = @as(u64, @truncate(int)), .exp = @as(u16, @truncate(int >> 64)), }; }