Data-Message

 view release on metacpan or  search on metacpan

t/test-mails/josey-fold  view on Meta::CPAN

is domain error (so as match Annex F).  So, no need to change XBD.

regards
Andrew

On Nov 13,  9:56am in "Re: Defect in XBD lr", Joanna Farley wrote:
> Sun's expert in this area after some discussions with a colleague
> outside of Sun concluded that for lround, to align with both C99 and SUS
> changes of the following form were necessary:
> 
> 	+ If x is +/-Inf/NaN, a domain error occurs, and
> 		+ errno is set to EDOM in MATH_ERRNO mode;
> 		+ the invalid exception is raised in MATH_ERREXCEPT mode.
> 		[to align with C99 Annex F.4]
>         
> 	+ If x is too large to be represented as a long, a *range* error
> 	may occur, and
> 		+ errno *may be* set to ERANGE in MATH_ERRNO mode;
> 		[to align with C99 7.12.9.7]
> 		+ the invalid exception *is* raised in MATH_ERREXCEPT mode.
> 		[to align with C99 Annex F.4]

t/test-mails/josey-fold  view on Meta::CPAN

> 
> Thanks
> 
> Joanna
> 
> 
> Andrew Josey wrote:
> > 
> > The text referred to is MX shaded and part of the ISO 60559 floating
> > point option.  I do not think changing the Domain Error to a Range Error
> > is the fix or at least not the fix for the NaN and +-Inf cases.  ISO C
> > 99 describes the range error case if the magnitude of x is too large as a
> > may fail. I'll ask Fred T for his thoughts on this one...
> > regards
> > Andrew
> > 
> > On Nov 12,  9:37am in "Defect in XBD lround", Erwin.Unruh@fujitsu-siemens.com wrote:
> > >       Defect report from : Erwin Unruh , Fujitsu Siemens Computers
> > >
> > > (Please direct followup comments direct to austin-group-l@opengroup.org)
> > >

t/test-mails/josey-nofold  view on Meta::CPAN

is domain error (so as match Annex F).  So, no need to change XBD.

regards
Andrew

On Nov 13,  9:56am in "Re: Defect in XBD lr", Joanna Farley wrote:
> Sun's expert in this area after some discussions with a colleague
> outside of Sun concluded that for lround, to align with both C99 and SUS
> changes of the following form were necessary:
> 
> 	+ If x is +/-Inf/NaN, a domain error occurs, and
> 		+ errno is set to EDOM in MATH_ERRNO mode;
> 		+ the invalid exception is raised in MATH_ERREXCEPT mode.
> 		[to align with C99 Annex F.4]
>         
> 	+ If x is too large to be represented as a long, a *range* error
> 	may occur, and
> 		+ errno *may be* set to ERANGE in MATH_ERRNO mode;
> 		[to align with C99 7.12.9.7]
> 		+ the invalid exception *is* raised in MATH_ERREXCEPT mode.
> 		[to align with C99 Annex F.4]

t/test-mails/josey-nofold  view on Meta::CPAN

> 
> Thanks
> 
> Joanna
> 
> 
> Andrew Josey wrote:
> > 
> > The text referred to is MX shaded and part of the ISO 60559 floating
> > point option.  I do not think changing the Domain Error to a Range Error
> > is the fix or at least not the fix for the NaN and +-Inf cases.  ISO C
> > 99 describes the range error case if the magnitude of x is too large as a
> > may fail. I'll ask Fred T for his thoughts on this one...
> > regards
> > Andrew
> > 
> > On Nov 12,  9:37am in "Defect in XBD lround", Erwin.Unruh@fujitsu-siemens.com wrote:
> > >       Defect report from : Erwin Unruh , Fujitsu Siemens Computers
> > >
> > > (Please direct followup comments direct to austin-group-l@opengroup.org)
> > >



( run in 0.574 second using v1.01-cache-2.11-cpan-4d50c553e7e )