ReactOS 0.4.15-dev-7924-g5949c20
float.h
Go to the documentation of this file.
1/* @(#)float.h 1.1 09/08/08 Copyright 2009 J. Schilling */
2/*
3 * Abstraction code for float.h
4 *
5 * Copyright (c) 2009 J. Schilling
6 */
7/*
8 * The contents of this file are subject to the terms of the
9 * Common Development and Distribution License, Version 1.0 only
10 * (the "License"). You may not use this file except in compliance
11 * with the License.
12 *
13 * See the file CDDL.Schily.txt in this distribution for details.
14 *
15 * When distributing Covered Code, include this CDDL HEADER in each
16 * file and include the License file CDDL.Schily.txt from this distribution.
17 */
18
19#ifndef _SCHILY_FLOAT_H
20#define _SCHILY_FLOAT_H
21
22#ifndef _SCHILY_MCONFIG_H
23#include <schily/mconfig.h>
24#endif
25
26#ifdef HAVE_FLOAT_H
27#ifndef _INCL_FLOAT_H
28#define _INCL_FLOAT_H
29#include <float.h>
30#endif
31#endif
32
33#ifdef HAVE_VALUES_H
34#ifndef _INCL_VALUES_H
35#define _INCL_VALUES_H
36#include <values.h>
37#endif
38
39#ifndef FLT_MAX
40#define FLT_MAX MAXFLOAT
41#endif
42#ifndef FLT_MIN
43#define FLT_MIN MINFLOAT
44#endif
45#ifndef DBL_MAX
46#define DBL_MAX MAXDOUBLE
47#endif
48#ifndef DBL_MIN
49#define DBL_MIN MINDOUBLE
50#endif
51
52#endif
53
54
55
56#endif /* _SCHILY_FLOAT_H */