Asterisk - The Open Source Telephony Project GIT-master-7e7a603
Functions
rcchk.c File Reference
#include "f2c.h"
Include dependency graph for rcchk.c:

Go to the source code of this file.

Functions

int rcchk_ (integer *order, real *rc1f, real *rc2f)
 

Function Documentation

◆ rcchk_()

int rcchk_ ( integer order,
real rc1f,
real rc2f 
)

Definition at line 82 of file rcchk.c.

83{
84 /* System generated locals */
85 integer i__1;
86 real r__1;
87
88 /* Local variables */
89 integer i__;
90
91/* Arguments */
92/* Local variables that need not be saved */
93 /* Parameter adjustments */
94 --rc2f;
95 --rc1f;
96
97 /* Function Body */
98 i__1 = *order;
99 for (i__ = 1; i__ <= i__1; ++i__) {
100 if ((r__1 = rc2f[i__], abs(r__1)) > .99f) {
101 goto L10;
102 }
103 }
104 return 0;
105/* Note: In version embedded in other software, all calls to ERROR
106*/
107/* should probably be removed. */
108L10:
109
110/* This call to ERROR is only needed for debugging purposes. */
111
112/* CALL ERROR('RCCHK',2,I) */
113 i__1 = *order;
114 for (i__ = 1; i__ <= i__1; ++i__) {
115 rc2f[i__] = rc1f[i__];
116 }
117 return 0;
118} /* rcchk_ */
integer order
Definition: analys.c:66
#define abs(x)
Definition: f2c.h:195
float real
Definition: lpc10.h:79
INT32 integer
Definition: lpc10.h:80

References abs, and order.

Referenced by analys_().