This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Error on test file for libm(test_vec.c)?
- To: Cliff Tsai <clifftsai at minecard dot com dot tw>
- Subject: Re: Error on test file for libm(test_vec.c)?
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- Date: Wed, 28 Mar 2001 14:56:18 -0500
- CC: newlib at sources dot redhat dot com
- Organization: Red Hat Inc.
- References: <000f01c0b76e$4dd58ba0$b200a8c0@minecard.com.tw>
> Cliff Tsai wrote:
>
> Hi:
> I'm compiling the test files for libm under newlib/libm/test/
> But one error occur.I've checked similar file (tets_log10).
> But there is no such error in test_log10.Do anyone have suggestion?
>
> ..\log2_vec.c: In function `test_log2':
> ..\log2_vec.c:400: `log2' undeclared (first use in this function)
> ..\log2_vec.c:400: (Each undeclared identifier is reported only once
> ..\log2_vec.c:400: for each function it appears in.)
>
>
>
>
Cliff,
You will have to remove the log2 stuff and references to it since log2 is not part of libm. You
will also have to remove the test_ieee stuff since we don't have the "rounding" routines referenced
either.
I have personally never run these tests (they were last touched in '94) so I can't comment on how
accurate or up to date they are. I am currently running a test using an internal build that is
still running, but I have already noticed a number of failures in the xxxcvt/xxxcvtbuf routines. I
will have a look at these failures.
-- Jeff J.