3#ifndef TETL_CMATH_ATAN2_HPP
4#define TETL_CMATH_ATAN2_HPP
6#include <etl/_3rd_party/gcem/gcem.hpp>
15[[nodiscard]]
constexpr auto atan2(
float x,
float y)
noexcept ->
float {
return etl::detail::gcem::atan2(x, y); }
17[[nodiscard]]
constexpr auto atan2f(
float x,
float y)
noexcept ->
float {
return etl::detail::gcem::atan2(x, y); }
19[[nodiscard]]
constexpr auto atan2(
double x,
double y)
noexcept ->
double {
return etl::detail::gcem::atan2(x, y); }
21[[nodiscard]]
constexpr auto atan2(
long double x,
long double y)
noexcept ->
long double
23 return etl::detail::gcem::atan2(x, y);
26[[nodiscard]]
constexpr auto atan2l(
long double x,
long double y)
noexcept ->
long double
28 return etl::detail::gcem::atan2(x, y);
constexpr auto atan2f(float x, float y) noexcept -> float
Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
Definition atan2.hpp:17
constexpr auto atan2l(long double x, long double y) noexcept -> long double
Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
Definition atan2.hpp:26
constexpr auto atan2(float x, float y) noexcept -> float
Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant.
Definition atan2.hpp:15
Definition adjacent_find.hpp:8