mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-13 14:53:34 +00:00
Endian specific floating point types (e.g. f32be)
This commit is contained in:
@@ -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