summaryrefslogtreecommitdiffstats
path: root/libm
Commit message (Collapse)AuthorAgeFilesLines
* libm: remove aliasing issue.David 'Digit' Turner2010-09-271-1/+1
| | | | | | | See http://code.google.com/p/android/issues/detail?id=6697 for details about this change. Change-Id: I516f00c6f3bc99b22be51669e4573246bdd6e33d
* DO NOT MERGE - add sincos.c to libm compilationDavid 'Digit' Turner2010-06-091-0/+1
| | | | | | For some reason, a previous backport from master didn't get this. Change-Id: I59eb96ad9de495a659808fdfb557033476c3d123
* Add sincosl() function to bionic. So that sincos optimization can - DO NOT MERGEDavid 'Digit' Turner2010-06-092-0/+53
| | | | | | be enabled. Change-Id: I672cb319689aa4fb3f1f7cd868dda76842bebae9
* Merge "Sometimes the compiler is very right! Found bug in bessel routines ↵Jean-Baptiste Queru2010-05-113-5/+7
|\ | | | | | | for float."
| * Sometimes the compiler is very right! Found bug in bessel routines for float.Scott Turner2010-05-073-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original compiler error: target arm C: libm <= bionic/libm/src/e_j0f.c bionic/libm/src/e_j0f.c: In function 'j0f': bionic/libm/src/e_j0f.c:66: warning: comparison between signed and unsigned integer expressions bionic/libm/src/e_j0f.c: In function 'y0f': bionic/libm/src/e_j0f.c:140: warning: comparison between signed and unsigned integer expressions target arm C: libm <= bionic/libm/src/e_j1.c It's subtle but ix is masked with 0x7f000000 so it can never ever have a value greater than 0x80000000. So I switched to using the unmasked hx and added a cast as a reward to the compiler for being right. I checked the original routines that e_j0f.c was ported from (in e_j0.c) and the double's don't use 0x80000000 so this issue didn't exist there. Let that be a warning to those that just slap on casts to shut up the compiler, sometimes it's sniffed out a bug for you. :-) Similar fixes in the other functions. Change-Id: I7a776e5d4721fc3a9e3bd89179b67e9af3a2ebfa
* | Merge "Reduce compiler anxiety."David Turner2010-05-111-1/+1
|\ \
| * | Reduce compiler anxiety.Scott Turner2010-01-161-1/+1
| |/ | | | | | | | | | | | | | | | | Warning from compiler: target arm C: libm <= bionic/libm/src/e_atan2.c bionic/libm/src/e_atan2.c: In function 'atan2': bionic/libm/src/e_atan2.c:71: warning: suggest parentheses around arithmetic in operand of '|' target arm C: libm <= bionic/libm/src/e_atan2f.c
* / Reversed order of const and static to hush warning from compiler.Scott Turner2010-01-161-10/+10
|/
* added and modified libm to support SuperH architectureShin-ichiro KAWASAKI2009-08-314-1/+339
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-175-8/+213
|
* Initial Contributionandroid-1.0The Android Open Source Project2008-10-21317-0/+29138