Functions | |
long | random (int max) |
void | srand (int seed) |
int | imin (int first_value, int second_value) |
int | imax (int first_value,int second_value) |
Compounds | ||
struct | bitset | Works with a set of bits using simple bit operations |
Here you can find some mathematical functions, imin() and imax() among them. If you need to find the minimal or maximal of two numbers, look at these efficient functions.
|
Returns the maximum of the two values.
|
|
Returns the minimum of the two values.
|
|
Returns a pseudo-random value from 0 to max - 1.
|
|
Initializes a pseudo-random number generator.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |