Commit Graph

7 Commits

Author SHA1 Message Date
AJR
10232447ba xtal: Compensate for floating-point rounding errors when converting to integer value (nw) 2019-06-06 15:23:09 -04:00
frediz
e0ebf250d1
Fix ppc64el issue #3157
This is probably due to the fact that IBM 128bit long double format is not constant folded.
I slighlty rewrote ""_kHz_XTAL(long double clock) and ""_MHz_XTAL(long double clock)
the way ""_kHz_XTAL(unsigned long long clock) and ""_MHz_XTAL(unsigned long long clock) are writtent.
which makes the compiler happy.
2019-06-05 17:20:02 +02:00
Vas Crabb
1c92473f25 let's be dimensionally correct 2018-01-26 18:02:29 +11:00
Vas Crabb
a9a9c45871 less reliant on PCH, more constexpr, allow 16_MHz_XTAL without decimal point (nw) 2018-01-26 17:43:44 +11:00
Vas Crabb
7168abee36 do you user-defined literal? also some more notes on the digital scale (nw) 2018-01-24 00:51:23 +11:00
Olivier Galibert
30add0e064 Fuck, I missed the last commit (nw) 2018-01-23 14:02:27 +01:00
Olivier Galibert
03ba80e0ef xtal.h is dead, long live to xtal.cpp [O. Galibert] 2018-01-23 10:25:25 +01:00