20 struct {
float low,high;} fval;
32 for (i=0; i<len*2; i++) d->c.fvec.fv[i] = 0.0;
34 for (i=0; i<len; i++) {
35 f2d.dval = (double)f->
c.
fvec.
fv[i];
36 *fp++ = f2d.fval.low; *fp++ = f2d.fval.high;}
47 struct {
float low,high;} fval;
60 for (i=0; i<len; i++) {
61 f2d.fval.low = *fp++; f2d.fval.high = *fp++;
62 f->c.fvec.fv[i]= (float)f2d.dval;}
73 register float factor;
79 if (n>=2) factor=
ckfltval(argv[1]);
else factor=1.0;
87 for (i=0; i<len; i++) fp[i]= sp[i] * factor;
floatdouble(context *ctx, int n, argv)
defun("ADR_TO_STRING", mod, ADR_TO_STRING)
static pointer F2D(context *ctx, int n, argv)
pointer error(enum errorcode ec,...) pointer error(va_alist) va_dcl
static pointer D2F(context *ctx, int n, argv)
pointer S2F(context *ctx, int n, argv)