Remove complex module from types/number
This commit is contained in:
parent
89b29aadbe
commit
a827958656
2 changed files with 0 additions and 21 deletions
|
@ -1,19 +0,0 @@
|
|||
/* types/src/number/complex.rs
|
||||
* Eryn Wells <eryn@erynwells.me>
|
||||
*/
|
||||
|
||||
use number::Real;
|
||||
use value::*;
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub struct Complex {
|
||||
real: Real,
|
||||
imag: Real
|
||||
}
|
||||
|
||||
impl IsBool for Complex { }
|
||||
impl IsChar for Complex { }
|
||||
|
||||
impl IsNumber for Complex {
|
||||
fn is_complex(&self) -> bool { true }
|
||||
}
|
|
@ -7,12 +7,10 @@
|
|||
/// Scheme numbers are complex, literally.
|
||||
|
||||
pub mod real;
|
||||
//pub mod complex;
|
||||
//mod add;
|
||||
mod math;
|
||||
|
||||
pub use self::real::Real;
|
||||
//pub use self::complex::Complex;
|
||||
|
||||
type Int = i64;
|
||||
type Flt = f64;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue