Jump to content

Random number generator (device): Difference between revisions

Add Common Lisp implementation
(Added Kotlin)
(Add Common Lisp implementation)
Line 186:
== {{header|ChucK}} ==
<lang c> Math.random2(-(Math.random()),Math.random(); </lang>
 
=={{header|Common Lisp}}==
<lang lisp>(defun random-int32 ()
(with-open-file (s "/dev/random" :element-type '(unsigned-byte 32))
(read-byte s)))</lang>
 
=={{header|EchoLisp}}==
68

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.