OIL_BEGIN_DECLS IMPORT_C void | oil_random_s32 | ( | oil_type_s32 * | dest, |
int | n | |||
) |
oil_random_s32: : :
Writes random values in the range [-(1<<31), (1<<31)-1] to the destination array.
IMPORT_C void | oil_random_s64 | ( | oil_type_s64 * | dest, |
int | n | |||
) |
oil_random_s64:
Writes random values in the range [-(1<<63), (1<<63)-1] to the destination array.
IMPORT_C void | oil_random_s16 | ( | oil_type_s16 * | dest, |
int | n | |||
) |
oil_random_s16:
Writes random values in the range [-(1<<15), (1<<15)-1] to the destination array.
IMPORT_C void | oil_random_s8 | ( | oil_type_s8 * | dest, |
int | n | |||
) |
oil_random_s8:
Writes random values in the range [-(1<<7), (1<<7)-1] to the destination array.
IMPORT_C void | oil_random_u32 | ( | oil_type_u32 * | dest, |
int | n | |||
) |
oil_random_u32:
Writes random values in the range [0, (1<<32)-1] to the destination array.
IMPORT_C void | oil_random_u64 | ( | oil_type_u64 * | dest, |
int | n | |||
) |
oil_random_u64:
Writes random values in the range [0, (1<<64)-1] to the destination array.
IMPORT_C void | oil_random_u16 | ( | oil_type_u16 * | dest, |
int | n | |||
) |
oil_random_u16:
Writes random values in the range [0, (1<<16)-1] to the destination array.
IMPORT_C void | oil_random_u8 | ( | oil_type_u8 * | dest, |
int | n | |||
) |
oil_random_u8:
Writes random values in the range [0, (1<<8)-1] to the destination array.
IMPORT_C void | oil_random_f64 | ( | oil_type_f64 * | dest, |
int | n | |||
) |
oil_random_f64:
Writes random double-precision floating point values in the range [0, 1.0) to the destination array.
IMPORT_C void | oil_random_f32 | ( | oil_type_f32 * | dest, |
int | n | |||
) |
oil_random_f32:
Writes random single-precision floating point values in the range [0, 1.0) to the destination array.