From owner-cvs-all Wed Dec 23 06:54:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25369 for cvs-all-outgoing; Wed, 23 Dec 1998 06:54:16 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA25351; Wed, 23 Dec 1998 06:54:06 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by nlsystems.com (8.9.1/8.8.5) with SMTP id OAA36012; Wed, 23 Dec 1998 14:53:25 GMT Date: Wed, 23 Dec 1998 14:50:15 +0000 (GMT) From: Doug Rabson To: Bruce Evans cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, dfr@FreeBSD.ORG Subject: Re: cvs commit: src/sys/alpha/alpha machdep.c sys_machdep.c src/sys/alpha/include alpha_cpu.h fpu.h ieeefp.h sysarch.h src/lib/libc/alpha SYS.h src/lib/libc/alpha/gen Makefile.inc fpgetmask.c fpgetround.c fpgetsticky.c fpsetmask.c fpsetround.c ... In-Reply-To: <199812231431.BAA28606@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thu, 24 Dec 1998, Bruce Evans wrote: > >> Applications should use the documented interface, which is > >> > >> #include > >> > >> We seem to have obtained this interface from Sun. AltaVista finds many > >> hits on in SunOS and Solaris man pages, e.g., > >> > >> http://www.sees.bangor.ac.uk/~bill/man/intro3.html > >> > >> It goes with , which we don't have (we had it in > >> FreeBSD.1.x, but I moved it to because it was > >> i386-specific :-). > >> > >> This interface should be superseded by the C9x interface. > > > >I was following the NetBSD naming. If there is a standard interface to > >use this then then we should follow it and maybe deprecate > >ieeefp.h/floatingpoint.h or > > It is more screwed up than I thought. The Sun contents of the Sun > is nothing like ours. Precision masks bits seem > to be in Sun's , but they have different names, and > IIRC the function names are different too. Our function names are > found in HPUX and Intel (Paragon only?) man pages. HPUX apparently > declares them in and Paragon apparently declares them in > . Paragon seems to have the same interface as NetBSD. > > Better yet, all of the "i386" interfaces are incompatible with the > NetBSD/ Paragon ones, because the typedefs are spelled properly > (with a trailing _t) only for the i386 interfaces. Even rev.1.1 > in FreeBSD-1.x has the _t's. Fun.. > > must be better than this even if no one has implemented it. > It has been implemented mainly by Apple according to AltaVista. > > Here is part of : > > void fesetexceptflag(const fexcept_t *flagp, int excepts); > int fesetround(int round); > void fesetenv(const fenv_t *envp); Do you have any references for this interface? If it is part of a standard (or even a draft) then we should consider implementing it. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message