C3E: Complex Compute Core Engine v1.0
An engine for handling complex computational tasks
Loading...
Searching...
No Matches
random.h
Go to the documentation of this file.
1/*
2 * Copyright 2024 Nathanne Isip
3 *
4 * Redistribution and use in source and binary forms,
5 * with or without modification, are permitted provided
6 * that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the
9 * above copyright notice, this list of conditions
10 * and the following disclaimer.
11 *
12 * 2. Redistributions in binary form must reproduce the
13 * above copyright notice, this list of conditions
14 * and the following disclaimer in the documentation
15 * and/or other materials provided with the distribution.
16 */
17
27#ifndef C3E_RANDOM_H
28#define C3E_RANDOM_H
29
30#include <c3e/commons.h>
31
41
52
65
66#endif /* C3E_RANDOM_H */
Common data structures and type definitions for the C3E library.
double c3e_number
A type representing a numerical value in C3E. Defaults to double precision.
Definition commons.h:50
c3e_number c3e_random()
Generates a random number.
c3e_number c3e_random_pseudo()
Generates a pseudorandom number.
c3e_number c3e_random_bound(c3e_number min, c3e_number max)
Generates a random number within a specified range.