whitespace fixes
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
/* fortran/drscl.f -- translated by f2c (version 20200916).
|
||||
You must link the resulting object file with libf2c:
|
||||
on Microsoft Windows system, link with libf2c.lib;
|
||||
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
|
||||
or, if you install libf2c.a in a standard place, with -lf2c -lm
|
||||
-- in that order, at the end of the command line, as in
|
||||
cc *.o -lf2c -lm
|
||||
Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
|
||||
on Microsoft Windows system, link with libf2c.lib;
|
||||
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
|
||||
or, if you install libf2c.a in a standard place, with -lf2c -lm
|
||||
-- in that order, at the end of the command line, as in
|
||||
cc *.o -lf2c -lm
|
||||
Source for libf2c is in /netlib/f2c/libf2c.zip, e.g.,
|
||||
|
||||
http://www.netlib.org/f2c/libf2c.zip
|
||||
http://www.netlib.org/f2c/libf2c.zip
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -100,14 +100,14 @@ extern "C" {
|
||||
/* > \ingroup doubleOTHERauxiliary */
|
||||
|
||||
/* ===================================================================== */
|
||||
/* Subroutine */ int drscl_(integer *n, doublereal *sa, doublereal *sx,
|
||||
integer *incx)
|
||||
/* Subroutine */ int drscl_(integer *n, doublereal *sa, doublereal *sx,
|
||||
integer *incx)
|
||||
{
|
||||
doublereal mul, cden;
|
||||
logical done;
|
||||
doublereal cnum, cden1, cnum1;
|
||||
extern /* Subroutine */ int dscal_(integer *, doublereal *, doublereal *,
|
||||
integer *), dlabad_(doublereal *, doublereal *);
|
||||
extern /* Subroutine */ int dscal_(integer *, doublereal *, doublereal *,
|
||||
integer *), dlabad_(doublereal *, doublereal *);
|
||||
extern doublereal dlamch_(char *, ftnlen);
|
||||
doublereal bignum, smlnum;
|
||||
|
||||
@ -142,7 +142,7 @@ extern "C" {
|
||||
|
||||
/* Function Body */
|
||||
if (*n <= 0) {
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Get machine parameters */
|
||||
@ -163,22 +163,22 @@ L10:
|
||||
|
||||
/* Pre-multiply X by SMLNUM if CDEN is large compared to CNUM. */
|
||||
|
||||
mul = smlnum;
|
||||
done = FALSE_;
|
||||
cden = cden1;
|
||||
mul = smlnum;
|
||||
done = FALSE_;
|
||||
cden = cden1;
|
||||
} else if (abs(cnum1) > abs(cden)) {
|
||||
|
||||
/* Pre-multiply X by BIGNUM if CDEN is small compared to CNUM. */
|
||||
|
||||
mul = bignum;
|
||||
done = FALSE_;
|
||||
cnum = cnum1;
|
||||
mul = bignum;
|
||||
done = FALSE_;
|
||||
cnum = cnum1;
|
||||
} else {
|
||||
|
||||
/* Multiply X by CNUM / CDEN and return. */
|
||||
|
||||
mul = cnum / cden;
|
||||
done = TRUE_;
|
||||
mul = cnum / cden;
|
||||
done = TRUE_;
|
||||
}
|
||||
|
||||
/* Scale the vector X by MUL */
|
||||
@ -186,7 +186,7 @@ L10:
|
||||
dscal_(n, &mul, &sx[1], incx);
|
||||
|
||||
if (! done) {
|
||||
goto L10;
|
||||
goto L10;
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -196,5 +196,5 @@ L10:
|
||||
} /* drscl_ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user