Added support for scientific notation

This commit is contained in:
2023-04-01 18:29:01 -07:00
parent 52a508cd98
commit 85a669e126
3 changed files with 103 additions and 14 deletions

View File

@ -176,6 +176,13 @@ fn main() -> Result<(), std::io::Error> {
// Tests to add:
// 3!+1
// 3!3
// 1e2
// 1e-2
// 1e0
// 1e1.2
// 1e(2)
// e2e
// 2 2e2
#[cfg(test)]
mod tests {