WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
half_float::detail::f31 Struct Reference

Class for 1.31 unsigned floating-point computation. More...

#include <half.hpp>

Public Member Functions

 f31 (uint32 mant, int e)
 f31 (unsigned int abs)

Public Attributes

uint32 m
 mantissa as 1.31.
int exp
 exponent.

Detailed Description

Class for 1.31 unsigned floating-point computation.

Constructor & Destructor Documentation

◆ f31() [1/2]

half_float::detail::f31::f31 ( uint32 mant,
int e )
inline

Constructor.

Parameters
mantmantissa as 1.31
eexponent

◆ f31() [2/2]

half_float::detail::f31::f31 ( unsigned int abs)
inline

Constructor.

Parameters
absunsigned half-precision value

Member Data Documentation

◆ exp

int half_float::detail::f31::exp

exponent.

◆ m

uint32 half_float::detail::f31::m

mantissa as 1.31.


The documentation for this struct was generated from the following file:
  • /Users/mickey/Documents/Projects/warptwin/warpos/clockwerk/src/core/half.hpp