mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
Revert "Fix ppc64el issue #3157 "
The "fix" throws away LSBs - double doesn't have enough mantissa bits.
The GCC people need to fix their compiler.
This reverts commit e0ebf250d1
.
This commit is contained in:
parent
3a2c9cb053
commit
e681e659d6
@ -81,8 +81,8 @@ constexpr XTAL operator *(unsigned int mult, const XTAL &xtal) { return XTAL(xta
|
||||
constexpr XTAL operator *(double mult, const XTAL &xtal) { return XTAL(xtal.base(), mult * xtal.dvalue()); }
|
||||
|
||||
constexpr XTAL operator ""_Hz_XTAL(long double clock) { return XTAL(double(clock)); }
|
||||
constexpr XTAL operator ""_kHz_XTAL(long double clock) { return XTAL(double(clock) * 1e3); }
|
||||
constexpr XTAL operator ""_MHz_XTAL(long double clock) { return XTAL(double(clock) * 1e6); }
|
||||
constexpr XTAL operator ""_kHz_XTAL(long double clock) { return XTAL(double(clock * 1e3)); }
|
||||
constexpr XTAL operator ""_MHz_XTAL(long double clock) { return XTAL(double(clock * 1e6)); }
|
||||
|
||||
constexpr XTAL operator ""_Hz_XTAL(unsigned long long clock) { return XTAL(double(clock)); }
|
||||
constexpr XTAL operator ""_kHz_XTAL(unsigned long long clock) { return XTAL(double(clock) * 1e3); }
|
||||
|
Loading…
Reference in New Issue
Block a user