/*********************************************************
- * Copyright (C) 1998-2017 VMware, Inc. All rights reserved.
+ * Copyright (C) 1998-2017,2019 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
*/
uint32 Random_Fast(uint64 *state);
+uint64 Random_Fast64(uint64 *state);
static INLINE void
Random_FastSeed(uint64 *state, // OUT:
/*********************************************************
- * Copyright (C) 1998-2016 VMware, Inc. All rights reserved.
+ * Copyright (C) 1998-2016,2019 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
*-----------------------------------------------------------------------------
*
* Random_Fast --
+ * Random_Fast64 --
* Random_FastStream --
* Random_FastStreamSeed --
*
return RandomFastImpl(rs, inc);
}
+uint64
+Random_Fast64(uint64 *rs) // IN/OUT:
+{
+ return QWORD(Random_Fast(rs), Random_Fast(rs)) ;
+}
+
uint32
Random_FastStream(RandomFastContext *rfc) // IN/OUT:
{