OROCHI
 
Loading...
Searching...
No Matches
GxU8N Struct Reference

8bit[0, 1]正規化小数 More...

#include <GxStruct.h>

Public Member Functions

初期化
GX_INLINE GxU8N (void)
 デフォルトコンストラクタ
 
GX_INLINE GxU8N (f32 valueF32)
 コンストラクタ
 
GX_INLINE GxU8N (const GxU8N &valueF16)
 コンストラクタ
 
GX_FORCE_INLINE operator f32 () const
 32ビットフロートキャスト
 
アクセサ
constexpr u8 getValueU8 (void) const
 u8で値を取得する
 
constexpr void setValueU8 (u8 setValue)
 u8で値を設定する
 

Static Public Member Functions

操作
static GX_FORCE_INLINE GxU8N f32ToU8N (f32 valueF32)
 32ビットから8ビットの変換
 
static GX_FORCE_INLINE f32 u8NToF32 (GxU8N valueU8N)
 8ビットから32ビットの変換
 

Detailed Description

8bit[0, 1]正規化小数

Constructor & Destructor Documentation

◆ GxU8N() [1/2]

GX_FORCE_INLINE GxU8N::GxU8N ( f32 valueF32)

コンストラクタ

Parameters
valueF32[in] 値
Here is the call graph for this function:

◆ GxU8N() [2/2]

GX_FORCE_INLINE GxU8N::GxU8N ( const GxU8N & valueU8N)

コンストラクタ

Parameters
valueU8N[in] 値

Member Function Documentation

◆ f32ToU8N()

GX_FORCE_INLINE GxU8N GxU8N::f32ToU8N ( f32 valueF32)
static

32ビットから8ビットの変換

Parameters
valueF32[in] 値
Returns
変換後の値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ u8NToF32()

GX_FORCE_INLINE f32 GxU8N::u8NToF32 ( GxU8N valueU8N)
static

8ビットから32ビットの変換

Parameters
valueU8N[in] 値
Returns
変換後の値
Here is the call graph for this function:

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