OWL
OptiX7 Wrapper Library
gdt::FixedPoint< storageT, Nbits, is_signed > Struct Template Reference

#include <fixedpoint.h>

Public Member Functions

 FixedPoint ()
 
float operator float () const
 

Public Attributes

storageT bits
 

Detailed Description

template<typename storageT, int Nbits, int is_signed>
struct gdt::FixedPoint< storageT, Nbits, is_signed >

a n-bit fixed-point float in the [0..1] region

Constructor & Destructor Documentation

◆ FixedPoint()

template<typename storageT , int Nbits, int is_signed>
gdt::FixedPoint< storageT, Nbits, is_signed >::FixedPoint ( )

Member Function Documentation

◆ operator float()

template<typename storageT , int Nbits, int is_signed>
float gdt::FixedPoint< storageT, Nbits, is_signed >::operator float ( ) const
inline

Member Data Documentation

◆ bits

template<typename storageT , int Nbits, int is_signed>
storageT gdt::FixedPoint< storageT, Nbits, is_signed >::bits

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