Views 
   PDF Download PDF Downloads: 969

 Open Access -   Download full article: 

Generation and Analysis of the Random Numbers by GCC Compiler

Saksham Srivastava

Department of Computer Engineering, Malaviya National Institute of Technology, Jaipur, India.

Article Publishing History
Article Received on :
Article Accepted on :
Article Published :
Article Metrics
ABSTRACT:

The random numbers have been generated by the GCC compiler and tested for their randomness. The code used by the library function of GCC compiler to generate random numbers is also presented. Chi-square test, Runs test below and above median, and Reverse arrangement test have been conducted to test the randomness. It has been shown that the Random numbers generated by GCC compiler have successfully passed these tests.

KEYWORDS: Random numbers; GCC compiler; Chi-square Test; rand() function; randomness

Copy the following to cite this article:

Srivastava S. Generation and Analysis of the Random Numbers by GCC Compiler. Orient. J. Comp. Sci. and Technol;6(1)


Copy the following to cite this URL:

Srivastava S. Generation and Analysis of the Random Numbers by GCC Compiler. Orient. J. Comp. Sci. and Technol;6(1). Available from: http://www.computerscijournal.org/?p=2712



Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.