File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ struct __hypot_factors {
56
56
57
57
// returns [underflow_factors, overflow_factors]
58
58
template <class _Real >
59
- std::array<__hypot_factors<_Real>, 2 > __create_factors () {
59
+ _LIBCPP_HIDE_FROM_ABI std::array<__hypot_factors<_Real>, 2 > __create_factors () {
60
60
static_assert (std::numeric_limits<_Real>::is_iec559);
61
61
62
62
__hypot_factors<_Real> __underflow, __overflow;
@@ -85,7 +85,7 @@ std::array<__hypot_factors<_Real>, 2> __create_factors() {
85
85
}
86
86
87
87
template <class _Real >
88
- _Real __hypot (_Real __x, _Real __y, _Real __z) {
88
+ _LIBCPP_HIDE_FROM_ABI _Real __hypot (_Real __x, _Real __y, _Real __z) {
89
89
const auto [__underflow, __overflow] = __create_factors<_Real>();
90
90
_Real __M = std::max ({__math::fabs (__x), __math::fabs (__y), __math::fabs (__z)});
91
91
if (__M > __overflow.__threshold ) { // x*x + y*y + z*z might overflow
You can’t perform that action at this time.
0 commit comments