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)


That was really:
> 
>    jfloat java::lang::Math::abs(jfloat x)
>    {
>         return *((uint32_t *)&x) & 0x7FFFFFFF;
>    }
> 

Cedric

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