diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-02 19:02:35 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-02 19:02:35 +0000 |
commit | af62d8a32e1ecc06ff21b81d860d0a45f1c702a3 (patch) | |
tree | c3759e413b59748bf4cc618ac739e5c5c0a1cf3d | |
parent | 3828cb491b9c105dac260a027b095914182f1453 (diff) | |
download | ATCD-af62d8a32e1ecc06ff21b81d860d0a45f1c702a3.tar.gz |
Changed drand48 () to ACE_OS::rand () * 1.0.
-rw-r--r-- | TAO/tests/Param_Test/helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/Param_Test/helper.cpp b/TAO/tests/Param_Test/helper.cpp index 174d64dd1a5..f2aac2ffd5a 100644 --- a/TAO/tests/Param_Test/helper.cpp +++ b/TAO/tests/Param_Test/helper.cpp @@ -1,4 +1,4 @@ -// $Id +// $Id$ // ============================================================================ // @@ -66,7 +66,7 @@ Generator::gen_fixed_struct (void) this->fixed_struct_.c = ACE_OS::rand () % 128; this->fixed_struct_.s = (CORBA::Short) ACE_OS::rand (); this->fixed_struct_.o = ACE_OS::rand () % 128; - this->fixed_struct_.f = (CORBA::Float) drand48 (); + this->fixed_struct_.f = (CORBA::Float) ACE_OS::rand () * 1.0; this->fixed_struct_.b = (CORBA::Boolean) ACE_OS::rand () % 2; this->fixed_struct_.d = (ACE_OS::rand () * 1.0); return this->fixed_struct_; |