Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22004

random() method implementation in Solaris Compiler(solaris studio 12.3)

$
0
0

I am working on cross platform(Linux and Solaris). Random() method in Solaris and Linux gives different output. This behavior is well known as it is compiled on two different Compilers(solarisstudio12.3 and gcc). For me Solaris application is the standard and i have to match the output of Linux app with it. what i am looking for is the implementation of random() method in Solaris Compiler so that i can use local methods to generate random numbers and match with Solaris.

Thanks in advance.


Viewing all articles
Browse latest Browse all 22004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>