47 lines
1.3 KiB
Rust
Raw Normal View History

2015-12-16 18:44:15 +01:00
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//! Rusty Mathematics
//!
//! # Note
//!
//! This API is completely unstable and subject to change.
#![crate_name = "rustc_const_math"]
2015-12-16 18:44:15 +01:00
#![unstable(feature = "rustc_private", issue = "27812")]
#![crate_type = "dylib"]
#![crate_type = "rlib"]
#![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
html_root_url = "https://doc.rust-lang.org/nightly/")]
#![deny(warnings)]
2015-12-16 18:44:15 +01:00
#![feature(rustc_private)]
#![feature(staged_api)]
#![feature(const_fn)]
#![feature(i128)]
#![feature(i128_type)]
2015-12-16 18:44:15 +01:00
2017-01-14 08:58:50 +00:00
extern crate syntax;
2015-12-16 18:44:15 +01:00
extern crate serialize as rustc_serialize; // used by deriving
mod float;
2015-12-16 18:44:15 +01:00
mod int;
mod us;
mod is;
mod err;
pub use float::*;
2015-12-16 18:44:15 +01:00
pub use int::*;
pub use us::*;
pub use is::*;
2016-04-26 14:10:07 +02:00
pub use err::{ConstMathErr, Op};