From 501bedbf8734121395e61054363e026599c9d11e Mon Sep 17 00:00:00 2001 From: TheUltimateOptimist Date: Sun, 28 Jan 2024 01:04:21 +0100 Subject: [PATCH] implemented getlld --- src/userinput.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/userinput.c b/src/userinput.c index bff0250..ef403d1 100644 --- a/src/userinput.c +++ b/src/userinput.c @@ -178,4 +178,10 @@ long getld(char *message, long *min, long *max) { LD(min) LD(max) return getNumber(message, minld, maxld, NULL, NULL, LONG_MIN, LONG_MAX); +} + +long long getlld(char *message, long long *min, long long *max) { + LD(min) + LD(max) + return getNumber(message, minld, maxld, NULL, NULL, LLONG_MIN, LLONG_MAX); } \ No newline at end of file