CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AP_Common/float16.h
Views: 1798
1
/*
2
implement a Float16 type
3
*/
4
5
#pragma once
6
#include <stdint.h>
7
8
struct float16_s {
9
float get(void) const;
10
void set(float value);
11
12
uint16_t v16;
13
};
14
15
typedef struct float16_s Float16_t;
16
17