fpgetround.3 (55083) | fpgetround.3 (57676) |
---|---|
1.\" Copyright (c) 1993 Andrew Moore, Talke Studio 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)fpgetround.3 1.0 (Berkeley) 9/23/93 | 1.\" Copyright (c) 1993 Andrew Moore, Talke Studio 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)fpgetround.3 1.0 (Berkeley) 9/23/93 |
33.\" $FreeBSD: head/share/man/man3/fpgetround.3 55083 1999-12-24 08:43:19Z sheldonh $ | 33.\" $FreeBSD: head/share/man/man3/fpgetround.3 57676 2000-03-01 14:50:24Z sheldonh $ |
34.\" 35.Dd August 23, 1993 36.Dt FPGETROUND 3 37.Os 38.Sh NAME 39.Nm fpgetround , 40.Nm fpsetround , 41.Nm fpsetprec , --- 60 unchanged lines hidden (view full) --- 102.Ft fp_except_t 103.Fn fpsetmask "fp_except_t mask" 104.Ft fp_except_t 105.Fn fpgetsticky void 106.Ft fp_except_t 107.Fn fpresetsticky "fp_except_t sticky" 108.Sh DESCRIPTION 109When a floating point exception is detected, the exception sticky flag is | 34.\" 35.Dd August 23, 1993 36.Dt FPGETROUND 3 37.Os 38.Sh NAME 39.Nm fpgetround , 40.Nm fpsetround , 41.Nm fpsetprec , --- 60 unchanged lines hidden (view full) --- 102.Ft fp_except_t 103.Fn fpsetmask "fp_except_t mask" 104.Ft fp_except_t 105.Fn fpgetsticky void 106.Ft fp_except_t 107.Fn fpresetsticky "fp_except_t sticky" 108.Sh DESCRIPTION 109When a floating point exception is detected, the exception sticky flag is |
110set and the exception mask is tested. If the mask is set, then a trap | 110set and the exception mask is tested. 111If the mask is set, then a trap |
111occurs. These routines allow both setting the floating point exception 112masks, and resetting the exception sticky flags after an exception is 113detected. In addition, they allow setting the floating point rounding mode 114and precision. 115.Pp 116The 117.Fn fpgetround 118function --- 58 unchanged lines hidden --- | 112occurs. These routines allow both setting the floating point exception 113masks, and resetting the exception sticky flags after an exception is 114detected. In addition, they allow setting the floating point rounding mode 115and precision. 116.Pp 117The 118.Fn fpgetround 119function --- 58 unchanged lines hidden --- |