HF RL Explorer

Create a command-line tool /root/fixed that performs fixed-point arithmetic operations. The tool reads a…

Create a command-line tool /root/fixed that performs fixed-point arithmetic operations. The tool reads a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format : One expression per line. An expression consists of exactly three whitespace-separated tokens…

The task

**Input format**: One expression per line. An expression consists of exactly three whitespace-separated tokens: `OPERAND OPERATOR OPERAND`. - Operands are decimal numbers with up to 20 digits total and up to 10 fractional digits. They may be negative (leading minus sign). Scientific notation is NOT supported. -…

Part of ai-and/termgrade-environments.