parameters: (dt)
return_statement: return r * c
docstring: Generates a random number from standard normal distribution
      using the Box-Muller transform.
docstring_summary: Generates a random number from standard normal distribution
      using the Box-Muller transform.
docstring_tokens: Generates a random number from standard normal distribution using the Box - Muller transform .
function: def _randn(dt):
      '''
      Generates a random number from standard normal distribution
      using the Box-Muller transform.
      '''
      assert dt == f32 or dt == f64
      u1 = ops.random(dt)
      u2 = ops.random(dt)
      r = ops.sqrt(-2 * ops.log(u1))
      c = ops.cos(math.tau * u2)
      return r * c
function_tokens: def _randn ( dt ) : assert dt == f32 or dt == f64 u1 = ops . random ( dt ) u2 = ops . random ( dt ) r = ops . sqrt ( - 2 * ops . log ( u1 ) ) c = ops . cos ( math . tau * u2 ) return r * c