HF RL Explorer

Build a decimal arithmetic tool named dec that performs exact fixed-point decimal calculations using only…

Build a decimal arithmetic tool named dec that performs exact fixed-point decimal calculations using only…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - Read one expression from stdin (may be empty, may be multiple lines, may have trailing…

The task

**Input contract:** - Read one expression from stdin (may be empty, may be multiple lines, may have trailing whitespace). - An expression consists of operands and operators separated by whitespace. - Operands are decimal numbers matching: optional leading minus, digits, optional decimal point with digits after it.…

Part of ai-and/termgrade-environments.