GL Studio SCECpp Runtime Library
|
This header defines the basic types used by the GL Studio DO-178B Runtime Library. More...
#include "gls_include.h"
#include <limits.h>
#include <float.h>
#include <math.h>
#include "gls_gl.h"
#include "gls_assert.h"
Go to the source code of this file.
Macros | |
#define | GLS_NULL ( 0 ) |
#define | GLSCHAR_MAX ( CHAR_MAX ) |
#define | GLSCHAR_MIN ( CHAR_MIN ) |
#define | GLSUCHAR_MAX ( UCHAR_MAX ) |
#define | GLSINT32_MAX ( INT_MAX ) |
#define | GLSINT32_MIN ( INT_MIN ) |
#define | GLSUINT32_MAX ( UINT_MAX ) |
#define | GLSFLOAT32_MAX ( FLT_MAX ) |
#define | GLSFLOAT32_MIN ( FLT_MIN ) |
#define | GLSFLOAT32_EPSILON ( FLT_EPSILON ) |
#define | GLSFLOAT64_MAX ( DBL_MAX ) |
#define | GLSFLOAT64_MIN ( DBL_MIN ) |
#define | GLSFLOAT64_EPSILON ( DBL_EPSILON ) |
#define | GLS_TRUE ( true ) |
#define | GLS_FALSE ( false ) |
Typedefs | |
typedef char | GlsChar |
typedef unsigned char | GlsUChar |
typedef int | GlsInt32 |
typedef unsigned int | GlsUInt32 |
typedef float | GlsFloat32 |
typedef double | GlsFloat64 |
typedef bool | GlsBool |
This header defines the basic types used by the GL Studio DO-178B Runtime Library.
This file is copyrighted software and contains proprietary trade secrets of DiSTI, and embodies substantial creative efforts as well as confidential information, ideas, and expressions.
Permission to use, and copy this software and its documentation for any purpose is hereby granted per the Distribution Agreement and/or the Licensing Agreement signed with DiSTI. This permission is granted provided that:
Permission to modify the software is granted, but not the right to distribute the source code whether modified, or non-modified. Modifying the software might invalidate the DO-178B certification package.
Permission to distribute binaries produced by compiling source code, or modified source code is granted, provided you:
DiSTI does not provide warranty for this software or guarantee that it satisfies any specification or requirement unless otherwise stated in a specific contractual arrangement between the customer and DiSTI.
#define GLS_FALSE ( false ) |
false value for a GlsBool
#define GLS_NULL ( 0 ) |
define GLS_NULL pointer value
#define GLS_TRUE ( true ) |
true value for a GlsBool
#define GLSCHAR_MAX ( CHAR_MAX ) |
largest value that can fit in a GlsChar
#define GLSCHAR_MIN ( CHAR_MIN ) |
smallest value that can fit in a GlsChar
#define GLSFLOAT32_EPSILON ( FLT_EPSILON ) |
smallest GlsFloat32 value such that ( 1.0 + GLSFLOAT32_EPSILON != 1.0 )
#define GLSFLOAT32_MAX ( FLT_MAX ) |
largest value that can be stored in a GlsFloat32
#define GLSFLOAT32_MIN ( FLT_MIN ) |
smallest value that can be stored in a GlsFloat32
#define GLSFLOAT64_EPSILON ( DBL_EPSILON ) |
smallest GlsFloat64 value such that ( 1.0 + GLSFLOAT64_EPSILON != 1.0 )
#define GLSFLOAT64_MAX ( DBL_MAX ) |
largest value that can be stored in a GlsFloat64
#define GLSFLOAT64_MIN ( DBL_MIN ) |
smallest value that can be stored in a GlsFloat64
#define GLSINT32_MAX ( INT_MAX ) |
largest value that can be stored in a GlsInt32
#define GLSINT32_MIN ( INT_MIN ) |
smallest value that can be stored in a GlsInt32
#define GLSUCHAR_MAX ( UCHAR_MAX ) |
largest value that can be stored in a GlsUChar
#define GLSUINT32_MAX ( UINT_MAX ) |
largest value that can be stored in a GlsUInt32
typedef bool GlsBool |
boolean value
typedef char GlsChar |
8-bit character
typedef float GlsFloat32 |
32-bit single precision floating point
typedef double GlsFloat64 |
64-bit double precision floating point
typedef int GlsInt32 |
32-bit signed integer
typedef unsigned char GlsUChar |
8-bit unsigned character
typedef unsigned int GlsUInt32 |
32-bit unsigned integer