mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 02:40:41 -04:00
Endian specific floating point types (e.g. f32be)
This commit is contained in:
1 parent
16b4178b8a
commit
90593fe6ae
9 files changed
+178
-7
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user