DDraceNetwork Documentation
Loading...
Searching...
No Matches
fxp Class Reference

#include <math.h>

Public Member Functions

constexpr void set (int v)
constexpr int get () const
constexpr fxpoperator= (int v)
constexpr fxpoperator= (float v)
constexpr operator int () const
constexpr operator float () const

Private Attributes

int value

Member Function Documentation

◆ get()

int fxp::get ( ) const
inlineconstexpr

◆ operator float()

fxp::operator float ( ) const
inlineconstexpr

◆ operator int()

fxp::operator int ( ) const
inlineconstexpr

◆ operator=() [1/2]

fxp & fxp::operator= ( float v)
inlineconstexpr

◆ operator=() [2/2]

fxp & fxp::operator= ( int v)
inlineconstexpr

◆ set()

void fxp::set ( int v)
inlineconstexpr

Member Data Documentation

◆ value

int fxp::value
private

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