The beginning of bignums is in place, tests still pass.
This commit is contained in:
parent
c21a762413
commit
342f0308d3
11 changed files with 134 additions and 96 deletions
|
|
@ -16,6 +16,10 @@ long double numeric_value( struct cons_pointer pointer );
|
|||
/**
|
||||
* Allocate an integer cell representing this value and return a cons pointer to it.
|
||||
*/
|
||||
struct cons_pointer make_integer( int64_t value );
|
||||
struct cons_pointer make_integer( int64_t value, struct cons_pointer more );
|
||||
|
||||
struct cons_pointer add_integers( struct cons_pointer a, struct cons_pointer b);
|
||||
|
||||
struct cons_pointer multiply_integers( struct cons_pointer a, struct cons_pointer b);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue