Annotation of coherent/d/usr/lib/libmp/itom.c, revision 1.1

1.1     ! root        1: #include "mprec.h"
        !             2: 
        !             3: /*
        !             4:  *     Itom returns a pointer to a mint which has a value equal to
        !             5:  *     the int "n".  It allocates the space both for the mint and
        !             6:  *     for the value.  Note that itom can be used to initialize
        !             7:  *     pointer to mint's.
        !             8:  */
        !             9: 
        !            10: mint *
        !            11: itom(n)
        !            12: int n;
        !            13: {
        !            14:        register mint   *result;
        !            15: 
        !            16:        result = (mint *)mpalc(sizeof *result);
        !            17:        minit(result);
        !            18:        mitom(n, result);
        !            19:        return (result);
        !            20: }

unix.superglobalmegacorp.com

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