F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
FPrimeNumericalConfig.h
Go to the documentation of this file.
1 // ======================================================================
2 // \title FPrimeNumericalConfig.hpp
3 // \author mstarch
4 // \brief hpp file for FPrime integer configuration
5 //
6 // \copyright
7 // Copyright 2024, by the California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 //
11 // FPrime projects are allowed to turn on or off the use of 16, 32, and 64
12 // bit integers. This is done to allow projects to disable support for types
13 // that are not supported by the target platform, or perform inefficient
14 // computations to synthesize these types.
15 //
16 // Users should set the properties in this file to 1 or 0 to enable or disable
17 // the feature.
18 //
19 // This header is intended to be C-compatible.
20 //
21 // ======================================================================
22 
23 #ifndef FPRIME_INTEGER_CONFIG_H
24 #define FPRIME_INTEGER_CONFIG_H
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 #define FW_HAS_64_BIT 1
30 #define FW_HAS_32_BIT 1
31 #define FW_HAS_16_BIT 1
32 #define SKIP_FLOAT_IEEE_754_COMPLIANCE 0
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 #endif // FPRIME_INTEGER_CONFIG_H
38