Open Access Open Access  Restricted Access Subscription Access

Generation and Analysis of the Random Numbers by GCC Compiler


Affiliations
1 Department of Computer Engineering, Malaviya National Institute of Technology, Jaipur, India
 

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.
User
Notifications
Font Size

Abstract Views: 210

PDF Views: 0




  • Generation and Analysis of the Random Numbers by GCC Compiler

Abstract Views: 210  |  PDF Views: 0

Authors

Saksham Srivastava
Department of Computer Engineering, Malaviya National Institute of Technology, Jaipur, India

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.