Skip to content
Snippets Groups Projects
Commit 9d1a7e28 authored by Michael Zikeli's avatar Michael Zikeli
Browse files

Add support for "single" type in parse_type_name function

parent 112818f5
No related branches found
No related tags found
No related merge requests found
Pipeline #74628 failed
...@@ -172,7 +172,7 @@ def parse_type_name(typename: str, const: bool): ...@@ -172,7 +172,7 @@ def parse_type_name(typename: str, const: bool):
case "half" | "float16": case "half" | "float16":
return PsIeeeFloatType(16, const=const) return PsIeeeFloatType(16, const=const)
case "float" | "float32": case "float" | "float32" | "single":
return PsIeeeFloatType(32, const=const) return PsIeeeFloatType(32, const=const)
case "double" | "float64": case "double" | "float64":
return PsIeeeFloatType(64, const=const) return PsIeeeFloatType(64, const=const)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment