Hash :
439be35c
Author :
Thomas de Grivel
Date :
2024-02-29T11:04:47
/* c3
* Copyright 2022,2023 kmx.io <contact@kmx.io>
*
* Permission is hereby granted to use this software granted the above
* copyright notice and this permission paragraph are included in all
* copies and substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
/* Gen from u.h.in BITS=_BITS$ bits=_bits$ */
#ifndef LIBC3_U_BITS$_H
#define LIBC3_U_BITS$_H
#include "types.h"
u_bits$ * u_bits$_init_cast (u_bits$ *u, const s_tag *tag);
u_bits$ * u_bits$_init_copy (u_bits$ *u, const u_bits$ *src);
u_bits$ * u_bits$_random (u_bits$ *u);
u_bits$ * u_bits$_random_uniform (u_bits$ *u, u_bits$ max);
s_tag * u_bits$_sqrt (const u_bits$ x, s_tag *dest);
#endif /* LIBC3_U_BITS$_H */