diff options
Diffstat (limited to 'source/include/softfloat.h')
-rw-r--r-- | source/include/softfloat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/include/softfloat.h b/source/include/softfloat.h index 9ed17c1..c1757b8 100644 --- a/source/include/softfloat.h +++ b/source/include/softfloat.h @@ -170,6 +170,13 @@ bool f16_lt_quiet( float16_t, float16_t ); bool f16_isSignalingNaN( float16_t ); /*---------------------------------------------------------------------------- +| 16-bit (brain float 16) floating-point operations. +*----------------------------------------------------------------------------*/ +float32_t bf16_to_f32( bfloat16_t ); +bfloat16_t f32_to_bf16( float32_t ); +bool bf16_isSignalingNaN( bfloat16_t ); + +/*---------------------------------------------------------------------------- | 32-bit (single-precision) floating-point operations. *----------------------------------------------------------------------------*/ uint_fast32_t f32_to_ui32( float32_t, uint_fast8_t, bool ); |