From c928153a5424fe5f0ea565027e3e8b51cd9bf517 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Mon, 12 Jun 2023 17:31:11 +0000 Subject: [PATCH] add: toupper to lower --- src/tolower.🗿 | 1 + src/toupper.🗿 | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/tolower.🗿 create mode 100644 src/toupper.🗿 diff --git a/src/tolower.🗿 b/src/tolower.🗿 new file mode 100644 index 0000000..c51a316 --- /dev/null +++ b/src/tolower.🗿 @@ -0,0 +1 @@ +tolower(c) return c + 32 * (c >= 'A' & c <= 'Z'); diff --git a/src/toupper.🗿 b/src/toupper.🗿 new file mode 100644 index 0000000..0230828 --- /dev/null +++ b/src/toupper.🗿 @@ -0,0 +1 @@ +toupper(c) return c - 32 * (c >= 'a' & c <= 'z');