aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #4 from cladmi/pr/libfixmath/gcc6Petteri Aimonen2017-09-281-1/+1
|\ | | | | Fix '-Werror=shift-negative-value' for gcc 6
| * Fix '-Werror=shift-negative-value' for gcc 6Gaëtan Harter2017-09-281-1/+1
|/ | | | | | | | GCC 6 introduced warning for shift on negative value numbers. When F16C is called with a negative number it evaluates FIXMATH_COMBINE_I_M with both the positive and the negative value. Fixes #3
* Merge pull request #2 from xli2012/constPetteri Aimonen2017-08-091-8/+8
|\ | | | | make some member functions const
| * make some member functions constXin Li2017-08-081-8/+8
|/
* Add license info, as originally on Google Code.Petteri Aimonen2015-07-071-0/+2
|
* Create README.mdPetteri Aimonen2015-07-071-0/+5
|
* Add F16C() macro for defining values without float support.PetteriAimonen2014-12-303-1/+201
| | | | Implementation by Jonas Zeiger.
* Fix typo in benchmark.c.PetteriAimonen2014-12-301-1/+1
|
* Fix compile error on GCCPetteriAimonen2014-01-161-1/+1
|
* Fix errors on Visual Studio (patch by sunside227)PetteriAimonen2014-01-162-2/+2
|
* Fix bug in fix16_str_unittests on Windows.PetteriAimonen2013-04-191-1/+1
| | | | | Fixes issue 23.
* Fix bug in the fix16_fft examplePetteriAimonen2013-02-171-1/+1
|
* Add #ifndefs around sdiv/smul/sadd/ssub in the C++ interface.PetteriAimonen2013-01-281-0/+10
| | | | | Closes issue #19.
* Fix error in fix16_lerp16 on platforms with sizeof(int) == 2.PetteriAimonen2013-01-281-2/+2
| | | | | Patch by georgjohann. Closes issue 20.
* Use >= comparison in fix16_sadd, fix16_ssub.PetteriAimonen2013-01-281-2/+2
| | | | | | Patch submitted by georgjohann. Closes issue #21.
* Fixed erronous printout of division unit test.Flatmush2012-08-311-3/+3
|
* Fix a division bug on 64-bit platforms.Petteri.Aimonen2012-08-311-1/+1
| | | | | | | The GCC builtin clzl depends on the sizeof(long), which caused an error if it was other than 32 bits. Fixes issue #17.
* Add shorthand macro F16() for defining numeric constantsPetteri.Aimonen2012-08-301-0/+9
|
* Edited wiki page FunctionReference through web user interface.Petteri.Aimonen2012-08-290-0/+0
|
* Added to/from string conversion functions, and testcases for them.Petteri.Aimonen2012-08-294-2/+252
|
* Perform the fix16_min -> fix16_minimum rename in unittests to make them work ↵Petteri.Aimonen2012-08-292-12/+12
| | | | again.
* Const allows more optimizations than purePetteri.Aimonen2012-08-051-2/+2
|
* Add fix16_sq() inline function as a shorthand to square valuesPetteri.Aimonen2012-08-051-1/+4
|
* Updated coding style document.Flatmush2012-07-252-14/+51
| | | | | Cleaned up some code.
* Added basic code style document to project.Flatmush2012-07-251-0/+229
|
* Added abs, floor, ceil, min, max, clamp.Flatmush2012-07-253-83/+92
| | | | | More code cleanup.
* Added log base 2 functions kindly provided by Tev Olsen.Flatmush2012-07-252-2/+109
|
* Added some deg/rad conversion functions.Flatmush2012-07-254-446/+497
| | | | | | Fixed up some code style inconsistencies. Added a modulo function to allow optimization on 8-bit machines.
* Added a patch to make operator results constant in the C++ interface as ↵Flatmush2012-07-021-4/+4
| | | | suggested in Issue 15.
* Added FFT code as an extra in the "contrib" folderPetteri.Aimonen2012-05-291-0/+163
|
* Fix the check around 'leaf' attribute, which is supported only by GCC > 4.6.Petteri.Aimonen2012-05-061-4/+3
|
* Updated exp() and log() on wiki page.Petteri.Aimonen2012-02-270-0/+0
|
* Fix useless warning on AVRPetteri.Aimonen2012-02-271-1/+6
|
* Benchmark suite using simulatorsPetteri.Aimonen2012-02-276-0/+474
|
* Improved fix16_exp() (half runtime, more accuracy), added fix16_log(), made ↵Petteri.Aimonen2012-02-274-24/+217
| | | | unittests for both.
* Added some function attributes when using GCC; these may help the optimizer ↵Petteri.Aimonen2012-01-271-21/+32
| | | | a bit.
* FunctionReference added conversion functionsPetteri.Aimonen2012-01-270-0/+0
|
* Documented the un-documented compilation features.Flatmush2012-01-270-0/+0
|
* Edited wiki page Benchmarks through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Edited wiki page Benchmarks through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Created wiki page through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Edited wiki page FunctionReference through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Created wiki page through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Edited wiki page FunctionReference through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Created wiki page through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Created wiki page through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Created wiki page through web user interface.Petteri.Aimonen2012-01-260-0/+0
|
* Merging a bunch of separately developed functions:Petteri.Aimonen2012-01-266-314/+962
| | | | | | | | | | fix16_mul, fix16_div, fix16_sqrt. They are faster & more accurate than the previous versions. Closes issue #13. Includes unittests for the functions in question, runnable by typing 'make' in the unittests folder.
* Back to previous Makefile I unintentionally modifiedvincent.del.medico2011-06-111-19/+48
|
* Added a fix16_sqr32 function, which computes sqrt with reduced 64-bit ↵vincent.del.medico2011-06-112-48/+50
| | | | operations (and without any 64-bit operations by setting FIXMATH_NO_64BIT)