From 934e091410097cd4adcd7ab4f44d10b81f11264d Mon Sep 17 00:00:00 2001 From: Damien Ready Date: Sat, 31 Jul 2021 11:02:48 -0500 Subject: [PATCH] Note "int" vs "double" representation of seconds --- src/core/os.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/os.c b/src/core/os.c index d9e1be42..467830b5 100644 --- a/src/core/os.c +++ b/src/core/os.c @@ -1164,7 +1164,7 @@ JANET_CORE_FN(os_setenv, JANET_CORE_FN(os_time, "(os/time)", - "Get the current time expressed as the number of seconds since " + "Get the current time expressed as the number of whole seconds since " "January 1, 1970, the Unix epoch. Returns a real number.") { janet_fixarity(argc, 0); (void) argv; @@ -1174,7 +1174,7 @@ JANET_CORE_FN(os_time, JANET_CORE_FN(os_clock, "(os/clock)", - "Return the number of seconds since some fixed point in time. The clock " + "Return the number of whole + fractional seconds since some fixed point in time. The clock " "is guaranteed to be non decreasing in real time.") { janet_fixarity(argc, 0); (void) argv;