On 21 November 2013 14:34, Glenn Fowler <[email protected]> wrote: > nice find > proposed descriptions for getpayload[fl]() setpayload[fl]()
What are the exact prototypes for a float, double and long double arguments? > setpayloadsig[fl]() are in > http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1664.pdf > as a bonus these functions provide a way to create a nan without resorting > to strtod("nan",0) > i.e., exactly what ast need because it provides strtod() sfscanf() etc. > this is what i was anticipating in the ast nan payload patch > > the only disconnect is that the api deals with floating payloads but > describes the payloads themselves as non-negative integers > I guess they do this in case the largest payload value is greater than the > largest native integer nans can only be positive integers >= 1 Ced -- Cedric Blancher <[email protected]> Institute Pasteur _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
