CBMC
parse_float.h
Go to the documentation of this file.
1
/*******************************************************************\
2
3
Module: ANSI-C Conversion / Type Checking
4
5
Author: Daniel Kroening, kroening@kroening.com
6
7
\*******************************************************************/
8
11
12
#ifndef CPROVER_ANSI_C_LITERALS_PARSE_FLOAT_H
13
#define CPROVER_ANSI_C_LITERALS_PARSE_FLOAT_H
14
15
#include <string>
16
17
#include <
util/mp_arith.h
>
18
19
class
parse_floatt
20
{
21
public
:
22
mp_integer
significand
,
exponent
;
23
unsigned
exponent_base
;
// 2 (hex) or 10
24
25
bool
is_float
,
is_long
;
26
27
// gcc extensions
28
bool
is_imaginary
,
is_decimal
,
is_float16
,
29
is_float32
,
is_float32x
,
30
is_float64
,
is_float64x
,
31
is_float80
,
32
is_float128
,
is_float128x
;
33
34
// parse!
35
explicit
parse_floatt
(
const
std::string &);
36
};
37
38
#endif
// CPROVER_ANSI_C_LITERALS_PARSE_FLOAT_H
parse_floatt
Definition:
parse_float.h:20
parse_floatt::is_imaginary
bool is_imaginary
Definition:
parse_float.h:28
parse_floatt::exponent_base
unsigned exponent_base
Definition:
parse_float.h:23
parse_floatt::significand
mp_integer significand
Definition:
parse_float.h:22
parse_floatt::parse_floatt
parse_floatt(const std::string &)
Definition:
parse_float.cpp:18
parse_floatt::exponent
mp_integer exponent
Definition:
parse_float.h:22
parse_floatt::is_float16
bool is_float16
Definition:
parse_float.h:28
parse_floatt::is_float64x
bool is_float64x
Definition:
parse_float.h:30
parse_floatt::is_float64
bool is_float64
Definition:
parse_float.h:30
parse_floatt::is_long
bool is_long
Definition:
parse_float.h:25
parse_floatt::is_decimal
bool is_decimal
Definition:
parse_float.h:28
parse_floatt::is_float128x
bool is_float128x
Definition:
parse_float.h:32
parse_floatt::is_float32
bool is_float32
Definition:
parse_float.h:29
parse_floatt::is_float32x
bool is_float32x
Definition:
parse_float.h:29
parse_floatt::is_float80
bool is_float80
Definition:
parse_float.h:31
parse_floatt::is_float
bool is_float
Definition:
parse_float.h:25
parse_floatt::is_float128
bool is_float128
Definition:
parse_float.h:32
mp_arith.h
mp_integer
BigInt mp_integer
Definition:
smt_terms.h:17
src
ansi-c
literals
parse_float.h
Generated by
1.9.1