1 /* 2 * random.h - header for random.c 3 * 4 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 * See https://llvm.org/LICENSE.txt for license information. 6 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 */ 8 9 #include "types.h" 10 11 uint32 random32(void); 12 uint32 random_upto(uint32 limit); 13 uint32 random_upto_biased(uint32 limit, int bias); 14