不明白Gauss中的.ext和.dec文件有什么区别。看下面UserGuide 8.0(18-11)的例子:
.src File:
/*
** fcomp.src
** These functions use _fcmptol to fuzz the comparison operations
** to allow for roundoff error.
** The statement: y = feq(a,b);
** is equivalent to: y = a eq b;
** Returns a scalar result, 1 (true) or 0 (false)
** y = feq(a,b);
** y = fne(a,b);
*/
#include fcomp.ext;
proc feq(a,b);
retp(abs(a-b) <= _fcmptol);
endp;
proc fne(a,b);
retp(abs(a-b) > _fcmptol);
endp;
.dec File:
/*
** fcomp.dec - global declaration file for fuzzy comparisons.
*/
declare matrix _fcmptol != 1e-14;
.lcg File:
/*
** fcomp.lcg - fuzzy compare library*/
fcomp.dec
_fcmptol:matrix
fcomp.src
feq:proc
fne:proc
这里的_fcmptol != 1e-14;中!是什么意思。.dec和.ext文件有什么不同功能呢