mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 01:44:36 +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