1*53ee8cc1Swenshuai.xi /* Default `HUGE_VALL' constant. 2*53ee8cc1Swenshuai.xi Used by <stdlib.h> and <math.h> functions for overflow. 3*53ee8cc1Swenshuai.xi Copyright (C) 1992, 1996, 1997, 2004 Free Software Foundation, Inc. 4*53ee8cc1Swenshuai.xi This file is part of the GNU C Library. 5*53ee8cc1Swenshuai.xi 6*53ee8cc1Swenshuai.xi The GNU C Library is free software; you can redistribute it and/or 7*53ee8cc1Swenshuai.xi modify it under the terms of the GNU Lesser General Public 8*53ee8cc1Swenshuai.xi License as published by the Free Software Foundation; either 9*53ee8cc1Swenshuai.xi version 2.1 of the License, or (at your option) any later version. 10*53ee8cc1Swenshuai.xi 11*53ee8cc1Swenshuai.xi The GNU C Library is distributed in the hope that it will be useful, 12*53ee8cc1Swenshuai.xi but WITHOUT ANY WARRANTY; without even the implied warranty of 13*53ee8cc1Swenshuai.xi MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14*53ee8cc1Swenshuai.xi Lesser General Public License for more details. 15*53ee8cc1Swenshuai.xi 16*53ee8cc1Swenshuai.xi You should have received a copy of the GNU Lesser General Public 17*53ee8cc1Swenshuai.xi License along with the GNU C Library; if not, write to the Free 18*53ee8cc1Swenshuai.xi Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 19*53ee8cc1Swenshuai.xi 02111-1307 USA. */ 20*53ee8cc1Swenshuai.xi 21*53ee8cc1Swenshuai.xi #ifndef _MATH_H 22*53ee8cc1Swenshuai.xi # error "Never use <bits/huge_vall.h> directly; include <math.h> instead." 23*53ee8cc1Swenshuai.xi #endif 24*53ee8cc1Swenshuai.xi 25*53ee8cc1Swenshuai.xi #if __GNUC_PREREQ(3,3) 26*53ee8cc1Swenshuai.xi # define HUGE_VALL (__builtin_huge_vall()) 27*53ee8cc1Swenshuai.xi #else 28*53ee8cc1Swenshuai.xi # define HUGE_VALL ((long double) HUGE_VAL) 29*53ee8cc1Swenshuai.xi #endif 30