SCCS-vsn: usr.bin/f77/libF77/pow_ri.c 5.2
SCCS-vsn: usr.bin/f77/libF77/r_dim.c 5.3
SCCS-vsn: usr.bin/f77/libF77/r_mod.c 5.3
SCCS-vsn: usr.bin/f77/libF77/r_nint.c 5.3
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
float pow_ri(ap, bp)
float *ap;
long int *bp;
float pow_ri(ap, bp)
float *ap;
long int *bp;
+ flt_retval = pow;
+ return(flt_retval);
+flt_retval = pow;
+return(flt_retval);
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
float r_dim(a,b)
float *a, *b;
{
float r_dim(a,b)
float *a, *b;
{
-return( *a > *b ? *a - *b : 0);
+flt_retval = *a > *b ? *a - *b : 0;
+return(flt_retval);
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
float r_mod(x,y)
float *x, *y;
{
float r_mod(x,y)
float *x, *y;
{
quotient = floor(quotient);
else
quotient = -floor(-quotient);
quotient = floor(quotient);
else
quotient = -floor(-quotient);
-return(*x - (*y) * quotient );
+flt_retval = *x - (*y) * quotient ;
+return(flt_retval);
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
float r_nint(x)
float *x;
{
double floor();
float r_nint(x)
float *x;
{
double floor();
-return( (*x)>=0 ?
- floor(*x + .5) : -floor(.5 - *x) );
+flt_retval = (*x)>=0 ? floor(*x + .5) : -floor(.5 - *x);
+return(flt_retval);