cc: [email protected] [email protected] Subject: Re: Re: [ast-developers] [ast-users] Unit of least precision (ULP)/spacing between floating point number problems --------
> David send Roland a comment that nextafter(x+1.1,5) does not figure > the data type of x+1.1 correctly and always uses the data type of the > right value. > > IMO the rules of ISO C (C1X) should apply. > > The difficult part is that I do not know how to do that with the > arithmetic engine in ksh, some how the value of node.isfloat (which is > now a kind of enum describing which kind of floating point data type > is used - float, double, long double) must be recalculated based on > the left hand lhand_node.isfloat and right hand rhand_node.isfloat > value of such operations. > > Olga > > I hope to be able to do this correctly in a future release. There are four types, integer, float, double, and long double. David Korn [email protected] _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
