16bit浮動小数
More...
#include <GxStruct.h>
|
|
|
GX_INLINE | GxF16 (void) |
| | デフォルトコンストラクタ
|
| |
| GX_INLINE | GxF16 (f32 valueF32) |
| | コンストラクタ
|
| |
| GX_INLINE | GxF16 (const GxF16 &valueF16) |
| | コンストラクタ
|
| |
|
GX_FORCE_INLINE | operator f32 () const |
| | 32ビットフロートキャスト
|
| |
|
|
constexpr u16 | getValueU16 (void) const |
| | u16で値を取得
|
| |
|
constexpr void | setValueU16 (u16 setValue) |
| | u16で値を設定
|
| |
|
|
| static GX_FORCE_INLINE GxF16 | f32ToF16 (f32 valueF32) |
| | 32ビットから16ビットの変換
|
| |
| static GX_FORCE_INLINE f32 | f16ToF32 (GxF16 valueF16) |
| | 16ビットから32ビットの変換
|
| |
◆ GxF16() [1/2]
| GX_FORCE_INLINE GxF16::GxF16 |
( |
f32 | valueF32 | ) |
|
◆ GxF16() [2/2]
| GX_FORCE_INLINE GxF16::GxF16 |
( |
const GxF16 & | valueF16 | ) |
|
◆ f16ToF32()
| GX_FORCE_INLINE f32 GxF16::f16ToF32 |
( |
GxF16 | valueF16 | ) |
|
|
static |
16ビットから32ビットの変換
- Parameters
-
- Returns
- 変換後の値
◆ f32ToF16()
| GX_FORCE_INLINE GxF16 GxF16::f32ToF16 |
( |
f32 | valueF32 | ) |
|
|
static |
32ビットから16ビットの変換
- Parameters
-
- Returns
- 変換後の値
The documentation for this struct was generated from the following files:
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxStruct.h
- C:/Users/t-arai/Documents/workspace/orochi_package_windows/middleware/GxCore/src/GxStruct.inl