mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
+ added readme.txt
+ comment
This commit is contained in:
parent
4f2a8744a9
commit
87845145b5
@ -334,7 +334,7 @@ float IEEE_FLIP(float number)
|
||||
// x = *(((byte*) &number)+3) & 0x7F; // x = fabs(number);
|
||||
// GAIN = factor 2
|
||||
|
||||
// *(((byte*) &number)+3) |= 0x80; // number == fabs(number);
|
||||
// *(((byte*) &number)+3) |= 0x80; // number == -fabs(number);
|
||||
// x = *(((byte*) &number)+3) | 0x80; // x == -fabs(number);
|
||||
// GAIN = factor 2
|
||||
|
||||
|
4
libraries/IEEE754tools/readme.txt
Normal file
4
libraries/IEEE754tools/readme.txt
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
IEEE754_tools.h contains a collection of bit-hacks to speed up a number of operations on floating pointnumbers on the Arduino.
|
||||
If you don't need micro-second speedups do not use these code snippets.
|
||||
in short: USE WITH CARE
|
Loading…
Reference in New Issue
Block a user