Embedded Template Library 1.0
Loading...
Searching...
No Matches
etl::sqrt< VALUE, I > Struct Template Reference

Calculates the smallest value that, when squared, will be not greater than VALUE. More...

#include <sqrt.h>

Public Types

enum  { value = type::value }
 
typedef etl::conditional<((I *I)>VALUE), etl::constant< intmax_t, I-1 >, etl::sqrt< VALUE, I+1 > >::type type
 

Detailed Description

template<size_t VALUE, size_t I = 1>
struct etl::sqrt< VALUE, I >

Calculates the smallest value that, when squared, will be not greater than VALUE.


The documentation for this struct was generated from the following file: