finite.c File Reference

#include "machine.h"

Include dependency graph for finite.c:

Go to the source code of this file.

Data Structures

union  ieee_double_shape_type

Typedefs

typedef unsigned int __uint32_t

Functions

int finite (double x)


Typedef Documentation

typedef unsigned int __uint32_t

Definition at line 16 of file finite.c.


Function Documentation

int finite ( double  x  ) 

Definition at line 30 of file finite.c.

References ieee_double_shape_type::msw, ieee_double_shape_type::parts, and ieee_double_shape_type::value.

Referenced by get_rect_arg(), Maxi(), Mini(), set_data_bounds_property(), and trans3d().

00033 {
00034   int hx;
00035   ieee_double_shape_type gh_u;
00036   
00037   gh_u.value = x;
00038   hx = gh_u.parts.msw;
00039   return  (int)((__uint32_t)((hx&0x7fffffff)-0x7ff00000)>>31);
00040 }

Here is the caller graph for this function:


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