aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-04-11 21:34:55 +0100
committergingerBill <bill@gingerbill.org>2020-04-11 21:34:55 +0100
commit90593fe6ae1a66ea5037140d14c7666fd073894c (patch)
tree9afa3504eed1addf0e1ef5f8e76dbd7a25dfacdc /src/check_expr.cpp
parent16b4178b8a9bb132e4b2361b95b53f791162a445 (diff)
Endian specific floating point types (e.g. f32be)
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp6
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;