Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
rw_rand.h File Reference
#include <rw/_defs.h>
#include <rw_testdefs.h>
Include dependency graph for rw_rand.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define rw_seed(limit)   rw_seed32 (limit)
 
#define rw_rand(limit)   rw_rand32 (limit)
 

Functions

_TEST_EXPORT void rw_seed32 (_RWSTD_UINT32_T)
 
_TEST_EXPORT _RWSTD_UINT32_T rw_rand32 (_RWSTD_UINT32_T=0)
 

Macro Definition Documentation

◆ rw_rand

#define rw_rand (   limit)    rw_rand32 (limit)

Definition at line 69 of file rw_rand.h.

◆ rw_seed

#define rw_seed (   limit)    rw_seed32 (limit)

Definition at line 68 of file rw_rand.h.

Function Documentation

◆ rw_rand32()

_TEST_EXPORT _RWSTD_UINT32_T rw_rand32 ( _RWSTD_UINT32_T  limit = 0)

Definition at line 74 of file rand.cpp.

◆ rw_seed32()

_TEST_EXPORT void rw_seed32 ( _RWSTD_UINT32_T  seed)

rw_rand.h - declarations of testsuite random number generators

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2005-2006 Rogue Wave Software.

Definition at line 44 of file rand.cpp.