From c28859c3e10c84fd9f81ebf88336c9b693448eeb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 6 Dec 2025 10:21:36 +0100 Subject: Add overflow and underflow prediction functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libj2_j2u_lsh_overflow_p.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libj2_j2u_lsh_overflow_p.c (limited to 'libj2_j2u_lsh_overflow_p.c') diff --git a/libj2_j2u_lsh_overflow_p.c b/libj2_j2u_lsh_overflow_p.c new file mode 100644 index 0000000..3dbe8dc --- /dev/null +++ b/libj2_j2u_lsh_overflow_p.c @@ -0,0 +1,13 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" +#ifndef TEST + +extern inline int libj2_j2u_lsh_overflow_p(const struct libj2_j2u *a, unsigned b); +/* TODO Add man page */ + + +#else + +CONST int main(void) { return 0; } /* Tested in libj2_j2u_lsh.c */ + +#endif -- cgit v1.2.3-70-g09d2