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:
parent
09bfb92fdc
commit
dc7d7d2698
21 changed files with 81 additions and 10 deletions
|
@ -52,11 +52,13 @@
|
|||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://static.rust-lang.org/doc/master")]
|
||||
#![feature(macro_rules, globs, asm, managed_boxes, thread_local, link_args,
|
||||
simd, linkage, default_type_params, phase, concat_idents)]
|
||||
simd, linkage, default_type_params, phase, concat_idents, quad_precision_float)]
|
||||
|
||||
// Don't link to std. We are std.
|
||||
#![no_std]
|
||||
|
||||
// NOTE: remove after snapshot
|
||||
#![allow(unknown_features)]
|
||||
#![deny(missing_doc)]
|
||||
|
||||
// When testing libstd, bring in libuv as the I/O backend so tests can print
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue