natMath.cc: Declare fabsf() function.

2000-12-02  Bryce McKinlay  <bryce@albatross.co.nz>

	* java/lang/natMath.cc: Declare fabsf() function.
	* java/lang/mprec.h: Don't include math.h.
	* java/lang/dtoa.c: Include string.h.
	* java/lang/natString.cc (toLowerCase): Initialize ch to prevent
	compiler warning.

From-SVN: r37938
This commit is contained in:
Bryce McKinlay 2000-12-02 00:28:44 +00:00 committed by Bryce McKinlay
parent 92f3752a64
commit db5e49032b
5 changed files with 13 additions and 2 deletions

View file

@ -27,6 +27,8 @@ details. */
#include "fdlibm.h"
extern "C" float fabsf (float);
jdouble java::lang::Math::cos(jdouble x)
{
return (jdouble)::cos((double)x);