tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
copysign.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

constexpr auto copysign (double mag, double sgn) -> double
 Composes a floating point value with the magnitude of mag and the sign of sgn.
 
constexpr auto copysign (float mag, float sgn) -> float
 Composes a floating point value with the magnitude of mag and the sign of sgn.
 
constexpr auto copysign (long double mag, long double sgn) -> long double
 Composes a floating point value with the magnitude of mag and the sign of sgn.
 
constexpr auto copysignf (float mag, float sgn) -> float
 Composes a floating point value with the magnitude of mag and the sign of sgn.
 
constexpr auto copysignl (long double mag, long double sgn) -> long double
 Composes a floating point value with the magnitude of mag and the sign of sgn.