diff options
| author | gingerBill <bill@gingerbill.org> | 2020-04-11 21:34:55 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-04-11 21:34:55 +0100 |
| commit | 90593fe6ae1a66ea5037140d14c7666fd073894c (patch) | |
| tree | 9afa3504eed1addf0e1ef5f8e76dbd7a25dfacdc /src/check_expr.cpp | |
| parent | 16b4178b8a9bb132e4b2361b95b53f791162a445 (diff) | |
Endian specific floating point types (e.g. f32be)
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index a9afbf8a4..12712443f 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -1455,6 +1455,12 @@ bool check_representable_as_constant(CheckerContext *c, ExactValue in_value, Typ case Basic_f64: return true; + case Basic_f32le: + case Basic_f64le: + case Basic_f32be: + case Basic_f64be: + return true; + case Basic_UntypedFloat: return true; |