diff --git a/src/rpn-mode.h b/src/rpn-mode.h deleted file mode 100644 index c728db2..0000000 --- a/src/rpn-mode.h +++ /dev/null @@ -1,21 +0,0 @@ -void std() -{ - cout << setprecision(FLOATING_DEFAULT_PRECISION); - cout.unsetf(ios_base::floatfield); -} - -void fix() -{ - MIN_ARGUMENTS(1); - ARG_IS_OF_TYPE(0, cmd_number); - - cout << setprecision((int)getf()) << fixed; -} - -void sci() -{ - MIN_ARGUMENTS(1); - ARG_IS_OF_TYPE(0, cmd_number); - - cout << setprecision((int)getf()) << scientific; -}