What I want to do is to create a binding for the SoftPosit library.
A typical function has an interface like
        quire16_t q16_fdp_add(quire16_t, posit16_t, posit16_t);
where
        typedef struct { uint16_t v; } posit16_t;
        typedef struct { uint64_t v[2]; } quire16_t;
A "quire" is a dot product accumulator.
A "posit" is a number.
{quire,posit}{8,16,32} are defined, and a number of other types.

Reply via email to