signbit.c File Reference

#include "arith.h"

Include dependency graph for signbit.c:

Go to the source code of this file.

Defines

#define Long   long

Functions

int signbit_f2c (double *x)


Define Documentation

#define Long   long

Definition at line 4 of file signbit.c.

Referenced by _uninit_f2c(), and signbit_f2c().


Function Documentation

int signbit_f2c ( double *  x  ) 

Definition at line 11 of file signbit.c.

References Long.

Referenced by l_g(), wrt_E(), and wrt_F().

00013 {
00014 #ifdef IEEE_MC68k
00015         if (*(Long*)x & 0x80000000)
00016                 return 1;
00017 #else
00018 #ifdef IEEE_8087
00019         if (((Long*)x)[1] & 0x80000000)
00020                 return 1;
00021 #endif /*IEEE_8087*/
00022 #endif /*IEEE_MC68k*/
00023         return 0;
00024         }

Here is the caller graph for this function:


Generated on Sun Mar 4 15:05:42 2007 for Scilab [trunk] by  doxygen 1.5.1