fix most dev backend tests

This commit is contained in:
Folkert 2023-09-11 23:08:46 +02:00
parent 5ca3d3bcf1
commit 89472bf495
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
7 changed files with 120 additions and 53 deletions

View file

@ -1255,7 +1255,7 @@ trait Backend<'a> {
);
debug_assert!(
matches!(*ret_layout, Layout::F32 | Layout::F64),
matches!(*ret_layout, Layout::F32 | Layout::F64 | Layout::DEC),
"NumToFrac: expected to have return layout of type Float"
);
self.build_num_to_frac(sym, &args[0], &arg_layouts[0], ret_layout)