11
2-
32[ ![ Arduino CI] ( https://github.com/RobTillaart/float16/workflows/Arduino%20CI/badge.svg )] ( https://github.com/marketplace/actions/arduino_ci )
43[ ![ Arduino-lint] ( https://github.com/RobTillaart/float16/actions/workflows/arduino-lint.yml/badge.svg )] ( https://github.com/RobTillaart/float16/actions/workflows/arduino-lint.yml )
54[ ![ JSON check] ( https://github.com/RobTillaart/float16/actions/workflows/jsoncheck.yml/badge.svg )] ( https://github.com/RobTillaart/float16/actions/workflows/jsoncheck.yml )
6- [ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-green.svg )] ( https://github.com/RobTillaart/float16/blob/master/LICENSE )
7- [ ![ GitHub release] ( https://img.shields.io/github/release/RobTillaart/float16.svg?maxAge=3600 )] ( https://github.com/RobTillaart/Complex/releases )
5+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/RobTillaart/float16.svg )] ( https://github.com/RobTillaart/float16/issues )
86
7+ [ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-green.svg )] ( https://github.com/RobTillaart/float16/blob/master/LICENSE )
8+ [ ![ GitHub release] ( https://img.shields.io/github/release/RobTillaart/float16.svg?maxAge=3600 )] ( https://github.com/RobTillaart/float16/releases )
9+ [ ![ PlatformIO Registry] ( https://badges.registry.platformio.org/packages/robtillaart/library/float16.svg )] ( https://registry.platformio.org/libraries/robtillaart/float16 )
910
1011# float16
1112
@@ -30,7 +31,7 @@ a floating point number. As it uses only 2 bytes where float and double have typ
3031
3132| attribute | value | notes |
3233| :----------| :-------------| :--------|
33- | size | 2 bytes | layout s eeeee mmmmmmmmmm
34+ | size | 2 bytes | layout s eeeee mmmmmmmmmm (1,5,10)
3435| sign | 1 bit |
3536| exponent | 5 bit |
3637| mantissa | 11 bit | ~ 3 digits
@@ -66,9 +67,16 @@ a floating point number. As it uses only 2 bytes where float and double have typ
6667```
6768
6869
70+ #### Related
71+
72+ - https://wokwi.com/projects/376313228108456961 (demo of its usage)
73+
74+
6975## Interface
7076
71- to elaborate
77+ ``` cpp
78+ #include " float16.h"
79+ ```
7280
7381#### Constructors
7482
@@ -126,20 +134,25 @@ negation operator.
126134- ** bool isInf()** returns true if value is (-)infinite.
127135
128136
137+ #### Experimental 0.1.8
138+
139+ - ** bool isNaN()** returns true if value is not a number.
140+
141+
129142## Notes
130143
131144
132145## Future
133146
134-
135- #### 0.1.x
147+ #### Must
136148
137149- update documentation.
138- - unit tests of the above.
139- - isNan().
140150
151+ #### Should
152+
153+ - unit tests of the above.
141154
142- #### later
155+ #### Could
143156
144157- update documentation.
145158- error handling.
@@ -149,3 +162,14 @@ negation operator.
149162- add storage example - with SD card, FRAM or EEPROM
150163- add communication example - serial or Ethernet?
151164
165+ #### Wont
166+
167+
168+ ## Support
169+
170+ If you appreciate my libraries, you can support the development and maintenance.
171+ Improve the quality of the libraries by providing issues and Pull Requests, or
172+ donate through PayPal or GitHub sponsors.
173+
174+ Thank you,
175+
0 commit comments