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

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

constexpr auto log1p (double v) noexcept -> double
 Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.
 
constexpr auto log1p (float v) noexcept -> float
 Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.
 
constexpr auto log1p (integral auto arg) noexcept -> double
 Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.
 
constexpr auto log1p (long double v) noexcept -> long double
 Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.
 
constexpr auto log1pf (float v) noexcept -> float
 Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.
 
constexpr auto log1pl (long double v) noexcept -> long double
 Computes the natural (base e) logarithm of 1+arg. This function is more precise than the expression etl::log(1+arg) if arg is close to zero.