Skip to main content
deleted 13 characters in body
Source Link
sergiol
  • 4.1k
  • 1
  • 17
  • 37

Tcl, 53 bytes

proc R t {time {puts [expr entier(rand()*4**64)]} $t}

Try it online!


# [Tcl], 8582 bytes
proc R t {time {time {append x [expr rand()>.5]} 128
puts [scan $x[expr %llb]0b$x]
unset x} $t}

Try it online!Try it online!

Tcl, 53 bytes

proc R t {time {puts [expr entier(rand()*4**64)]} $t}

Try it online!


# [Tcl], 85 bytes
proc R t {time {time {append x [expr rand()>.5]} 128
puts [scan $x %llb]
unset x} $t}

Try it online!

Tcl, 53 bytes

proc R t {time {puts [expr entier(rand()*4**64)]} $t}

Try it online!


# [Tcl], 82 bytes
proc R t {time {time {append x [expr rand()>.5]} 128
puts [expr 0b$x]
unset x} $t}

Try it online!

added 303 characters in body
Source Link
sergiol
  • 4.1k
  • 1
  • 17
  • 37

Tcl, 8553 bytes

proc R t {time {time {append xputs [expr entier(rand()>.5]} 128
puts [scan $x %llb]
unset x*4**64)]} $t}

Try it online!Try it online!


# [Tcl], 85 bytes
proc R t {time {time {append x [expr rand()>.5]} 128
puts [scan $x %llb]
unset x} $t}

Try it online!

Tcl, 85 bytes

proc R t {time {time {append x [expr rand()>.5]} 128
puts [scan $x %llb]
unset x} $t}

Try it online!

Tcl, 53 bytes

proc R t {time {puts [expr entier(rand()*4**64)]} $t}

Try it online!


# [Tcl], 85 bytes
proc R t {time {time {append x [expr rand()>.5]} 128
puts [scan $x %llb]
unset x} $t}

Try it online!

Source Link
sergiol
  • 4.1k
  • 1
  • 17
  • 37

Tcl, 85 bytes

proc R t {time {time {append x [expr rand()>.5]} 128
puts [scan $x %llb]
unset x} $t}

Try it online!