Are the changes to the bit patterns at the top of va.h supposed to eliminate an extra lookup later?

#define VBB B01 /* convert arguments to B */ #define VII INT /* convert arguments to I */ #define VDD FL /* convert arguments to D */ #define VZZ CMPX /* convert arguments to Z */ #define Vxx XNUM /* convert arguments to XNUM */ #define VQQ RAT /* convert arguments to RAT */ #define VARGMSK (VBB|VII|VDD|VZZ|Vxx|VQQ) // mask for argument requested type
#define VRESX           8           // bit position for result flags

But what happens if the extended floating point type (XD) gets implemented? That would push VRESX to 29 and leave no room for VXCVTTYPEX on 32 bit machines. I do have custom types beyond bit 29 and I would like to conform to the official source, what is the recommendation? Reorder the type bit patterns?

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to