Doxygen Source Code Documentation
        
Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search   
i_sign.c
Go to the documentation of this file.00001 #include "f2c.h"
00002 
00003 #ifdef KR_headers
00004 integer i_sign(a,b) integer *a, *b;
00005 #else
00006 integer i_sign(integer *a, integer *b)
00007 #endif
00008 {
00009 integer x;
00010 x = (*a >= 0 ? *a : - *a);
00011 return( *b >= 0 ? x : -x);
00012 }