ardupilot/libraries/AP_Common/float16.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
201 B
C
Raw Permalink Normal View History

2022-10-13 17:30:19 -03:00
/*
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;