Embedded Template Library 1.0
Loading...
Searching...
No Matches
ratio.h File Reference
#include "platform.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Classes

struct  etl::ratio< NUM, DEN >
 

Namespaces

namespace  etl
 bitset_ext
 

Typedefs

typedef ratio< 1, 1000000000 > etl::nano
 
typedef ratio< 1, 1000000 > etl::micro
 
typedef ratio< 1, 1000 > etl::milli
 
typedef ratio< 1, 100 > etl::centi
 
typedef ratio< 1, 10 > etl::deci
 
typedef ratio< 10, 1 > etl::deca
 
typedef ratio< 100, 1 > etl::hecto
 
typedef ratio< 1000, 1 > etl::kilo
 
typedef ratio< 1000000, 1 > etl::mega
 
typedef ratio< 1000000000, 1 > etl::giga
 
typedef ratio< 355, 113 > etl::ratio_pi
 An approximation of PI to 6 digits.
 
typedef ratio< 239, 169 > etl::ratio_root2
 An approximation of root 2.
 
typedef ratio< 326, 120 > etl::ratio_e
 An approximation of e.