// 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 or the MIT license // , 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. #![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)] #![feature(i128)] #![feature(i128_type)] #![cfg_attr(stage0, feature(const_fn))] #![cfg_attr(not(stage0), feature(const_min_value))] #![cfg_attr(not(stage0), feature(const_max_value))] extern crate rustc_apfloat; extern crate syntax; extern crate serialize as rustc_serialize; // used by deriving mod float; mod int; mod us; mod is; mod err; pub use float::*; pub use int::*; pub use us::*; pub use is::*; pub use err::{ConstMathErr, Op};