This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Lack of fabsf on Solaris (patch included)
- To: martin dot kahlert at infineon dot com
- Subject: Re: Lack of fabsf on Solaris (patch included)
- From: Cedric Berger <cedric at wireless-networks dot com>
- Date: Thu, 25 Jan 2001 05:47:23 -0800
- CC: java-discuss at sourceware dot cygnus dot com
- References: <20010125124334.A24654@keksy.muc.infineon.com>
Martin Kahlert wrote:
>
> Hi,
> there is no fabsf on Solaris machines.
> [...]
Why not simply this:
jfloat java::lang::Math::abs(jfloat x)
{
return x < 0.0F ? -x : x;
}
And removing all this autoconf mess?
Cedric