fenv.c revision 130147
1130147Sdas/*-
2130147Sdas * Copyright (c) 2004 David Schultz <das@FreeBSD.ORG>
3130147Sdas * All rights reserved.
4130147Sdas *
5130147Sdas * Redistribution and use in source and binary forms, with or without
6130147Sdas * modification, are permitted provided that the following conditions
7130147Sdas * are met:
8130147Sdas * 1. Redistributions of source code must retain the above copyright
9130147Sdas *    notice, this list of conditions and the following disclaimer.
10130147Sdas * 2. Redistributions in binary form must reproduce the above copyright
11130147Sdas *    notice, this list of conditions and the following disclaimer in the
12130147Sdas *    documentation and/or other materials provided with the distribution.
13130147Sdas *
14130147Sdas * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15130147Sdas * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16130147Sdas * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17130147Sdas * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18130147Sdas * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19130147Sdas * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20130147Sdas * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21130147Sdas * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22130147Sdas * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23130147Sdas * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24130147Sdas * SUCH DAMAGE.
25130147Sdas *
26130147Sdas * $FreeBSD: head/lib/msun/sparc64/fenv.c 130147 2004-06-06 10:05:57Z das $
27130147Sdas */
28130147Sdas
29130147Sdas#include <fenv.h>
30130147Sdas
31130147Sdas/*
32130147Sdas * The FSR_version field may be different on different
33130147Sdas * implementations, but it is immutable and opaque to the
34130147Sdas * application.  Thus, 0 is valid as the default environment.
35130147Sdas */
36130147Sdasconst fenv_t __fe_dfl_env = 0;
37