Epok Engine

PSYQO SDK

Fixed Point

fixed-point.hh · the fixed point module

Module

the fixed point module.

Header
fixed-point.hh
Include
#include "psyqo/fixed-point.hh"
Stability
Pinned PsyQo API

Include this module

C++ include
#include "psyqo/fixed-point.hh"

Types

Functions and methods

absPerforms `abs` as part of the fixed point module.MethodceilReturns the ceiling of the fixed point number.Function templatedDivPerforms `d div` as part of the fixed point module.FunctionFixedPoint<precisionBits, T, Scale>Constructs a fixed point number from a floating point number.constructorfloorReturns the floor of the fixed point number.Function templateiDivPerforms `i div` as part of the fixed point module.FunctionintegerReturns the integer part of the fixed point number.Function templateoperator-Performs `operator -` as part of the fixed point module.Methodoperator-Performs `operator -` as part of the fixed point module.Function templateoperator--Performs `operator --` as part of the fixed point module.Methodoperator-=Performs `operator -=` as part of the fixed point module.Methodoperator!Performs `operator !` as part of the fixed point module.Methodoperator""_fpUser-defined literal for constructing a 20.12 fixed point number.Functionoperator*Performs `operator *` as part of the fixed point module.Methodoperator*Performs `operator *` as part of the fixed point module.Function templateoperator*=Performs `operator *=` as part of the fixed point module.Methodoperator/Performs `operator /` as part of the fixed point module.Methodoperator/Performs `operator /` as part of the fixed point module.Function templateoperator/=Performs `operator /=` as part of the fixed point module.Methodoperator+Performs `operator +` as part of the fixed point module.Methodoperator+Performs `operator +` as part of the fixed point module.Function templateoperator++Performs `operator ++` as part of the fixed point module.Methodoperator+=Performs `operator +=` as part of the fixed point module.Methodoperator<<Performs `operator <<` as part of the fixed point module.Methodoperator<<=Performs `operator <<=` as part of the fixed point module.Methodoperator<=>Performs `operator <=>` as part of the fixed point module.Methodoperator=Performs `operator =` as part of the fixed point module.Methodoperator>>Performs `operator >>` as part of the fixed point module.Methodoperator>>=Performs `operator >>=` as part of the fixed point module.MethodprintPrints out the fixed point number.MethodprintIntPerforms `print int` as part of the fixed point module.FunctionrawPerforms `raw` as part of the fixed point module.Method

Fields, variables and values