author | alfadur |
Wed, 23 Jan 2019 00:30:12 +0300 | |
changeset 14688 | 6b70c109389f |
parent 14687 | 95b1b9ea505a |
child 14689 | 38836d6c5c8a |
--- a/rust/fpnum/src/lib.rs Tue Jan 22 21:34:13 2019 +0100 +++ b/rust/fpnum/src/lib.rs Wed Jan 23 00:30:12 2019 +0300 @@ -295,15 +295,9 @@ #[macro_export] macro_rules! fp { - (-$n: literal / $d: literal) => { - FPNum::new(-$n, $d) - }; ($n: literal / $d: literal) => { FPNum::new($n, $d) }; - (-$n: literal) => { - FPNum::from(-$n) - }; ($n: literal) => { FPNum::from($n) };