We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 855250e commit 3dd85c2Copy full SHA for 3dd85c2
src/karm-math/bigint.cpp
@@ -698,6 +698,8 @@ export Karm::Math::BigFrac operator""_bigfrac(unsigned long long value) {
698
return Karm::Math::BigFrac{static_cast<Karm::usize>(value)};
699
}
700
701
-export Karm::Math::BigFrac operator""_bigfrac(long double value) {
702
- return Karm::Math::BigFrac{static_cast<Karm::f64>(value)};
703
-}
+// NOTE: Most target don't like long double literals, so we disable them
+// for now. We can re-enable them later when we have a better solution for cross-compilation.
+// export Karm::Math::BigFrac operator""_bigfrac(long double value) {
704
+// return Karm::Math::BigFrac{static_cast<Karm::f64>(value)};
705
+// }
0 commit comments