ardupilot/libraries/AP_Common/float16.h

16 lines
201 B
C

/*
implement a Float16 type
*/
#pragma once
#include <stdint.h>
struct float16_s {
float get(void) const;
void set(float value);
uint16_t v16;
};
typedef struct float16_s Float16_t;