From f34fefcae863c48912b64398a6b4d7295cb5ad7f Mon Sep 17 00:00:00 2001 From: CPD MSBench Runner Date: Thu, 4 Jun 2026 21:21:17 +0000 Subject: [PATCH] feat: add subtract function to math module - Export new subtract function for basic arithmetic operations - Provides counterpart to existing add function --- src/math.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/math.ts b/src/math.ts index 8d9b8a2..8559ea5 100755 --- a/src/math.ts +++ b/src/math.ts @@ -1,3 +1,7 @@ export function add(a: number, b: number): number { return a + b; } + +export function subtract(a: number, b: number): number { + return a - b; +}