| Flutter Impeller |

Classes | Namespaces | Typedefs | Functions
scalar.h File Reference
`#include <cfloat>`
`#include <type_traits>`
`#include <valarray>`
`#include "impeller/geometry/constants.h"`

Go to the source code of this file.

## Classes
struct | impeller::Radians
struct | impeller::Degrees

## Namespaces
| impeller

## Typedefs
using | impeller::Scalar = float

## Functions
template<class T , class = std::enable_if_t<std::is_arithmetic_v<T>>>
constexpr T | impeller::Absolute (const T &val)
template<>
constexpr Scalar | impeller::Absolute< Scalar > (const float &val)
constexpr bool | impeller::ScalarNearlyZero (Scalar x, Scalar tolerance=kEhCloseEnough)
constexpr bool | impeller::ScalarNearlyEqual (Scalar x, Scalar y, Scalar tolerance=kEhCloseEnough)