Work on exception handling, especially around ratio arithmetic
Much simplified but will break things!
This commit is contained in:
parent
d2101dbd47
commit
70d176982b
14 changed files with 298 additions and 258 deletions
|
|
@ -11,15 +11,19 @@
|
|||
#ifndef __integer_h
|
||||
#define __integer_h
|
||||
|
||||
struct cons_pointer make_integer( int64_t value, struct cons_pointer more );
|
||||
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 add_integers(struct cons_pointer a,
|
||||
struct cons_pointer b);
|
||||
|
||||
struct cons_pointer multiply_integers( struct cons_pointer a,
|
||||
struct cons_pointer b );
|
||||
struct cons_pointer multiply_integers(struct cons_pointer a,
|
||||
struct cons_pointer b);
|
||||
|
||||
struct cons_pointer integer_to_string( struct cons_pointer int_pointer,
|
||||
int base );
|
||||
struct cons_pointer integer_to_string(struct cons_pointer int_pointer,
|
||||
int base);
|
||||
|
||||
bool equal_integer_integer(struct cons_pointer a, struct cons_pointer b);
|
||||
|
||||
bool equal_integer_real(struct cons_pointer a, struct cons_pointer b);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue