All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EightBitConverter< T > Class Template Reference

#include <fmath.h>

Public Member Functions

 EightBitConverter () noexcept
T operator() (unsigned char c) const noexcept

Detailed Description

template<class T = float>
class EightBitConverter< T >

Fast table-based conversion of 8-bit to other types. Declare this as static to avoid the expensive ctr being called all the time.

Definition at line 1409 of file fmath.h.

Constructor & Destructor Documentation

template<class T = float>
EightBitConverter< T >::EightBitConverter ( )

Definition at line 1411 of file fmath.h.

Member Function Documentation

template<class T = float>
T EightBitConverter< T >::operator() ( unsigned char  c) const

Definition at line 1412 of file fmath.h.

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