From 5a29410b26cf50c17ff43b77b0d0533a1799c976 Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 9 Jan 2023 19:50:44 -0600 Subject: i8087: clang fix --- src/devices/machine/i8087.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/devices/machine/i8087.cpp b/src/devices/machine/i8087.cpp index 359498f7182..93c6e90fe57 100644 --- a/src/devices/machine/i8087.cpp +++ b/src/devices/machine/i8087.cpp @@ -154,17 +154,6 @@ static inline floatx80 floatx80_abs(floatx80 fx) return fx; } -static inline double fx80_to_double(floatx80 fx) -{ - uint64_t d = floatx80_to_float64(fx); - return *(double*)&d; -} - -static inline floatx80 double_to_fx80(double in) -{ - return float64_to_floatx80(*(uint64_t*)&in); -} - DEFINE_DEVICE_TYPE(I8087, i8087_device, "i8087", "Intel 8087") i8087_device::i8087_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) : -- cgit v1.2.3