add support for quadruple precision floating point
This currently requires linking against a library like libquadmath (or libgcc), because compiler-rt barely has any support for this and most hardware does not yet have 128-bit precision floating point. For this reason, it's currently hidden behind a feature gate. When compiler-rt is updated to trunk, some tests can be added for constant evaluation since there will be support for the comparison operators. Closes #13381
This commit is contained in:
@@ -187,7 +187,7 @@ pub fn uint_ty_max(t: UintTy) -> u64 {
|
||||
}
|
||||
|
||||
pub fn float_ty_to_str(t: FloatTy) -> ~str {
|
||||
match t { TyF32 => "f32".to_owned(), TyF64 => "f64".to_owned() }
|
||||
match t { TyF32 => "f32".to_owned(), TyF64 => "f64".to_owned(), TyF128 => "f128".to_owned() }
|
||||
}
|
||||
|
||||
pub fn is_call_expr(e: @Expr) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user