[Pharo-users] FFI beginner question

Richard O'Keefe raoknz at gmail.com
Mon Sep 23 22:35:55 EDT 2019

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);
        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.

More information about the Pharo-users mailing list