Annotation of 43BSD/contrib/icon/rt/mkreal.c, revision 1.1

1.1     ! root        1: #include "../h/rt.h"
        !             2: 
        !             3: /*
        !             4:  * mkreal(r, d) - make a real number descriptor and associated heap block
        !             5:  *  for r and place it in *d.
        !             6:  */
        !             7: 
        !             8: mkreal(r, d)
        !             9: double r;
        !            10: register struct descrip *d;
        !            11:    {
        !            12:    extern struct b_int *alcreal();
        !            13: 
        !            14:    hneed(sizeof(struct b_real));
        !            15:    d->type = D_REAL;
        !            16:    BLKLOC(*d) = (union block *) alcreal(r);
        !            17:    }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.