History log of /bionic/tests/complex_test.cpp
Revision Date Author Comments
e9719f3fb5aef5d4f0ca0acc7392fc66e970b006 26-Sep-2016 Elliott Hughes <enh@google.com> Fix complex.csqrtf test and add a trivial sincosl test.

sincos and sincosf are being tested more thoroughly with a table of data,
but there's nothing equivalent for sincosl.

Test: ran the tests, obviously.
Change-Id: I5b4b22b73cad9b0030549de2e2ed2a0e38648806
5a3d5cac642f9e58b2c510eab23789fb4fc3a753 29-Apr-2016 Josh Gao <jmgao@google.com> Add __INTRODUCED_IN_{32,64}.

Some symbols appeared at different times between 32 and 64 bit. Add a
macro to represent this.

Bug: http://b/28178111
Change-Id: I0aa46d9da3c7301b60df0416bce252f0f37b7b36
ff504e63ee76b8b44c668d7024181d0b65277aca 29-Apr-2016 Josh Gao <jmgao@google.com> Add __INTRODUCED_IN hack to complex test.

complex_test.cpp is compiled with both bionic and glibc, so when
__INTRODUCED_IN starts being used in <complex.h>, we'll need this to
keep it building.

Bug: http://b/28178111
Change-Id: I6431111be35288cad72e9c23ca8599f548b6d906
34c599a8b0b04f66b065c4d84b809f74dd44382d 29-Apr-2016 Josh Gao <jmgao@google.com> Add __INTRODUCED_IN_FUTURE for unreleased APIs.

Future API levels aren't known (e.g. 25 could be a maintenance release
of N that doesn't contain any bionic updates), so use a placeholder
macro that we can find and replace with the actual API level before each
release.

Bug: http://b/28178111
Change-Id: I667fe53ea1ac49b64135170fc30d5dbe9df94e29
afe835d540000d2378e744b764d71406b410761d 02-Apr-2016 Elliott Hughes <enh@google.com> Move math headers in with the other headers.

Keeping them separate is a pain for the NDK, and doesn't help the platform.

Change-Id: I96b8beef307d4a956e9c0a899ad9315adc502582
9ee6adb003eb5a9855ff6c47f9c150b415a11299 11-Mar-2016 Elliott Hughes <enh@google.com> Add missing <complex.h> functions.

FreeBSD doesn't seem interested in having low-quality implementations of
these functions:

cacoshl, cacosl, casinhl, casinl, catanhl, catanl, ccoshl, ccosl, cexpl,
clog, clogf, clogl, cpow, cpowf, cpowl, csinhl, csinl, ctanhl, ctanl.

And they still haven't got round to writing good implementations, so for
now let's just take the NetBSD ones so we have the full set.

Bug: http://b/27555792
Change-Id: I6b72003cf749b1043f006377a01fffe5e1d659bc
b8ee16f1dc1253e3f1c99b4a6b9df249515cd919 06-Nov-2014 Elliott Hughes <enh@google.com> Fix our <complex.h> support.

We build libm with -fvisibility=hidden, so we weren't exporting any
of the <complex.h> functions.

We also weren't building many of the functions anyway.

We were also missing the complex inverse trigonometric functions.

And because we didn't even have perfunctory "call each function once"
tests, we didn't notice that we weren't exporting any symbols, so this
patch adds at least that level of testing.

Change-Id: Ibcf2843f507126c51d134cc5fc8d67747e033a0d