limits.c revision 1
1N/A/*********************************************************************** 1N/A* This software is part of the ast package * 1N/A* Copyright (c) 1985-2011 AT&T Intellectual Property * 1N/A* and is licensed under the * 1N/A* Common Public License, Version 1.0 * 1N/A* by AT&T Intellectual Property * 1N/A* A copy of the License is available at * 1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 1N/A* Information and Software Systems Research * 1N/A* Glenn Fowler <gsf@research.att.com> * 1N/A* David Korn <dgk@research.att.com> * 1N/A* Phong Vo <kpv@research.att.com> * 1N/A***********************************************************************/ 1N/A * generate limits features 1N/A * FOPEN_MAX POSIX says ANSI defines it but it's not in ANSI 1N/A * NOTE: two's complement binary integral representation assumed 1N/A * we'd like as many symbols as possible defined 1N/A * the standards push the vendors the other way 1N/A * but don't provide guard that lets everything through 1N/A * so each vendor adds their own guard 1N/A printf(
"#if defined(__STDC__) && _ast_LL\n");
1N/A printf(
"#if defined(__STDC__) && _ast_LL\n");
1N/A printf(
"#if defined(__STDC__) && _ast_LL\n");
1N/A printf(
"#define DBL_MAX 1.7976931348623158e+308\n");
1N/A printf(
"#define FLT_MAX 3.402823466e+38F\n");