4 Revision 1.2 2007/04/18 13:59:59 rrt
5 Remove $Log tokens and associated log messages (in many files, several
6 copies of every log message were being written) and lots of warnings.
8 Revision 1.1 2007/04/16 21:57:06 rrt
9 LPC-10 support, documentation still to come; I wanted to land the code
10 before 14.0.0 went into test, and I'll be busy tomorrow.
12 Not highly tested either, but it's just a format, doesn't interfere
13 with anything else, and I'll get on that case before we go stable.
15 * Revision 1.1 1996/08/19 22:32:10 jaf
24 * SCCS ID: @(#)f2clib.c 1.2 96/05/19
29 integer
pow_ii(integer
*ap
, integer
*bp
);
31 integer
pow_ii(integer
*ap
, integer
*bp
)
43 return x
== 0 ? 1/x
: 0;
60 double r_sign(real
*a
, real
*b
);
62 double r_sign(real
*a
, real
*b
)
65 x
= (*a
>= 0 ? *a
: - *a
);
66 return( *b
>= 0 ? x
: -x
);
70 integer
i_nint(real
*x
);
74 integer
i_nint(real
*x
)
77 floor(*x
+ .5) : -floor(.5 - *x
) );