nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches
sfloat.h File Reference
#include <stdint.h>
#include <zephyr/types.h>

Go to the source code of this file.

Data Structures

struct  sfloat
 SFLOAT type. More...
 

Enumerations

enum  sfloat_special {
  SFLOAT_NAN = 0x07FF , SFLOAT_NRES = 0x0800 , SFLOAT_POS_INFINITY = 0x07FE , SFLOAT_NEG_INFINITY = 0x0802 ,
  SFLOAT_RESERVED = 0x0801
}
 SFLOAT special values. More...
 

Functions

struct sfloat sfloat_from_float (float float_num)
 Convert the standard float type into SFLOAT type.