Add f16
and f128
to the AST
This commit is contained in:
parent
02778b3e0e
commit
baba49d8f0
2 changed files with 8 additions and 0 deletions
|
@ -1991,8 +1991,10 @@ pub fn uint_ty(uty: ast::UintTy) -> UintTy {
|
|||
|
||||
pub fn float_ty(fty: ast::FloatTy) -> FloatTy {
|
||||
match fty {
|
||||
ast::FloatTy::F16 => FloatTy::F16,
|
||||
ast::FloatTy::F32 => FloatTy::F32,
|
||||
ast::FloatTy::F64 => FloatTy::F64,
|
||||
ast::FloatTy::F128 => FloatTy::F128,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue