Pharap
529692d81c
Change member constants to uintmax_t ( #51 )
...
This makes the typing of `SFixed`'s constants match the typing of `UFixed`'s constants.
7 years ago
Pharap
6054d11516
Remove UFixedBase and SFixedBase ( #46 )
...
* Delete SFixedBase.h
* Delete UFixedBase.h
7 years ago
Pharap
ff3308fd96
Remove superfluous constructors ( #45 )
7 years ago
Pharap
0d064ef75d
Fix bug in definition of UFixedBase::IntegerType ( #39 )
7 years ago
Pharap
d0c20218ca
Add long double conversion operator ( #34 )
7 years ago
Pharap
fc3de879b1
Update licence ( #33 )
...
* Update LICENSE
* Update LICENCE
7 years ago
Pharap
e5ac682a12
Fix bug in roundFixed ( #32 )
...
The bug was due to part of the former code being left in by mistake.
7 years ago
Pharap
c3994a06d5
Update to v1.0.6
7 years ago
Pharap
ca8df686ea
Add simple preliminary FAQ ( #27 )
7 years ago
Pharap
8a98bd8629
Add descriptive error for multiplication ( #26 )
...
Provides a better error message for when multiplication can't be used because the required precision type is too large.
7 years ago
Pharap
39d259cb03
Add Project Showcase ( #25 )
7 years ago
Pharap
daee1128a7
Replace inferred literal types ( #24 )
...
Replace inferred types of literals with fundamental types.
7 years ago
Pharap
a2660d2cec
Update to v1.0.5
7 years ago
Pharap
8d308632a5
Add Arduino Due support ( #16 )
...
Automatically disables random number functionality for Arduino Due.
7 years ago
Pharap
5880da2e35
Add Serial.begin for boards that need it ( #15 )
...
Some Arduino boards require `Serial.begin` (e.g. the Uno and the Due) whilst others appear to not need it (e.g. the Arduboy).
7 years ago
Pharap
05f8ae0c83
Remove Min and Max functions ( #14 )
...
The functions were conflicting with some Arduino Due macros and they weren't being used, so they've been removed.
7 years ago
Pharap
4f8fe99153
Simplify both versions of roundFixed ( #12 )
...
These simplifications slightly reduce the size of the generated code.
7 years ago
Pharap
bd84a2c69b
Update to v1.0.4
7 years ago
Pharap
8d370ef95d
Add ESP8266 support ( #11 )
...
Automatically disables random number functionality for ESP8266.
7 years ago
Pharap
952a8594d5
Add workaround for gcc bug 58541 ( #9 )
...
The bug in question causes a "redeclaration differs in constexpr" error, despite the standard not requiring this.
This bug is fixed in newer versions of gcc.
More information can be found [here](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58541 ).
7 years ago
Pharap
feb58a200d
Add FIXED_POINTS_NO_RANDOM ( #8 )
...
* Add FIXED_POINTS_NO_RANDOM
* Document FIXED_POINTS_NO_RANDOM
7 years ago
Pharap
3f68923321
Add more information about defines ( #7 )
7 years ago
Pharap
dc4181697b
Update to v1.0.3
7 years ago
Pharap
e6b69559db
Prepend licence message to all source files
7 years ago
Pharap
5e19c70514
Update to v1.0.2
7 years ago
Pharap
0482b473e1
Add library.json ( #5 )
...
This should enable proper PlatformIO support.
7 years ago
Pharap
1f2539ad4b
Delete library.json
7 years ago
Pharap
5936df8d51
Update to v1.0.1
7 years ago
Pharap
d622c1b0b4
Fix bug in randomSFixed
...
Fixes bug that caused `randomSFixed(inclusiveLowerBound, exclusiveUpperBound)` to return values beyond its boundaries.
7 years ago
Pharap
d2a63faf53
Eradicate Warnings
7 years ago
Pharap
393acd2f49
Add files via upload
7 years ago
Pharap
34915f6186
Initial commit
7 years ago