1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-29 13:01:30 +00:00

Add compile-time constants for SMALLP values 0 and -1

This commit is contained in:
Nick Briggs
2023-01-14 16:03:21 -08:00
parent 96b3bddf12
commit cdf6024452

View File

@@ -22,6 +22,8 @@
#define MAX_FIXP 2147483647 /* == 0x7FFFFFFF */
#define MIN_FIXP (-2147483648) /* == 0x80000000 */
#define SMALLP_ZERO ((LispPTR)S_POSITIVE)
#define SMALLP_MINUSONE ((LispPTR)(S_NEGATIVE | 0xFFFF))
/**
* extract an integer value from a smallp
*/