This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Lack of fabsf on Solaris (patch included)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]