Yup: that's correct:
# git diff stdlib/public/SwiftShims/LibcShims.h
diff --git a/stdlib/public/SwiftShims/LibcShims.h b/stdlib/public/SwiftShims/LibcShims.h
index fd0aef2783..f0323a3300 100644
--- a/stdlib/public/SwiftShims/LibcShims.h
+++ b/stdlib/public/SwiftShims/LibcShims.h
@@ -148,7 +148,6 @@ double _stdlib_squareRoot(double _self) {
return __builtin_sqrt(_self);
}
-#if !defined _WIN32 && (defined __i386__ || defined __x86_64__)
static inline SWIFT_ALWAYS_INLINE
long double _stdlib_remainderl(long double _self, long double _other) {
return __builtin_remainderl(_self, _other);
@@ -158,7 +157,6 @@ static inline SWIFT_ALWAYS_INLINE
long double _stdlib_squareRootl(long double _self) {
return __builtin_sqrtl(_self);
}
-#endif
// Apple's math.h does not declare lgamma_r() etc by default, but they're
// unconditionally exported by libsystem_m.dylib in all OS versions that
and the error persists:
error: use of unresolved identifier '_stdlib_remainderl'
self = _stdlib_remainderl(self, other)
^~~~~~~~~~~~~~~~~~
SwiftShims._stdlib_remainder:1:13: note: did you mean '_stdlib_remainder'?
etc.
So it looks like somehow Float80 support might not be there for FreeBSD????