CNL  2.0.2 (development)
Compositional Numeric Library
math.h File Reference

some cmath specializations for cnl::scaled_integer type; More...

#include "definition.h"
#include "rep_of.h"
#include "tag_of.h"

Go to the source code of this file.

Namespaces

 cnl
 compositional numeric library
 

Functions

template<class Rep , int Exponent>
constexpr auto cnl::exp2 (scaled_integer< Rep, power< Exponent >> x) -> scaled_integer< Rep, power< Exponent >>
 Calculates exp2(x), i.e. 2^xAccurate to 1LSB for up to 32 bit underlying representation. More...
 

Detailed Description

some cmath specializations for cnl::scaled_integer type;