Steve Peters <[EMAIL PROTECTED]> wrote:
> Here's the responce from the OpenBSD folks.  It seems that turning on a
> define prior to the atan2() call will set the flags correctly for OpenBSD.

[ ... ]

>         _LIB_VERSION = _IEEE_;

Fine. Thanks for the research. It should probably suffice to set the
_LIB_VERSION once. As this is platform-specific this belongs into

  config/gen/platform/*bsd/init.c

where the new file init.c should contain a function

  void Parrot_platform_init(Interp *i)
  {
     _LIB_VERSION = _IEEE_;
  }

or some such. The fallback generic/init.c should do nothing. I think the
configure system will pick up these files automatically, we just have to
call the init function during interpreter startup.
Header definition should go into platform/platform_interface.h.

Comments, takers?

Do we need a test, if "_LIB_VERSION" is compiled into libm?

leo

Reply via email to