HF RL Explorer

Build a command-line tool fpcalc that performs arbitrary-precision fixed-point arithmetic. It reads a single…

Build a command-line tool fpcalc that performs arbitrary-precision fixed-point arithmetic. It reads a single…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Expression format: <left <operator <right - <left and <right are decimal numbers with optional sign…

The task

**Expression format:** ``` <left> <operator> <right> ``` - `<left>` and `<right>` are decimal numbers with optional sign, optional integer part, optional decimal point, and optional fractional part. - `<operator>` is one of: `+` `-` `*` `/` - Division `/` requires at least 20 fractional digits in the quotient. If the…

Part of ai-and/termgrade-environments.