NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [jruohonen%iki.fi@localhost: Re: lib/46433: tests/lib/libm/t_exp should not use exp() itself]



On May 30,  9:20pm, jruohonen%iki.fi@localhost (Jukka Ruohonen) wrote:
-- Subject: [jruohonen%iki.fi@localhost: Re: lib/46433: tests/lib/libm/t_exp 
should not

| The following reply was made to PR lib/46433; it has been noted by GNATS.
| 
| From: Jukka Ruohonen <jruohonen%iki.fi@localhost>
| To: gnats-bugs%NetBSD.org@localhost
| Cc: 
| Subject: [jruohonen%iki.fi@localhost: Re: lib/46433: tests/lib/libm/t_exp 
should not use exp() itself]
| Date: Thu, 31 May 2012 00:19:18 +0300
| 
|  On Wed, May 30, 2012 at 02:36:21PM -0400, Christos Zoulas wrote:
|  > That should be changed to HAVE_IEEE_MATH or something. I think I started
|  > doing that a while ago.
|  
|  I welcome anything going into this direction. However, we have also cases
|  such as:
|  
|  #if defined(__i386__) || defined(__amd64__) || defined(__sparc__)
|  
|  for some FP variants such as fenv(3). C99-compliant things like tgmath(3)
|  probably provide more examples.
|  
|  So, say, if I would be deploying an application for NetBSD, I would perhaps
|  appreciate simple _HAVE-style preprocessor conditionals.
|  

Yes, we need __HAVE_FENV etc.

christos


Home | Main Index | Thread Index | Old Index