That is because there is no such distribution, the support of the normal distribution is the whole of the reals.

If you want the truncated normal that is a different question.

Also there is no such thing as "the normal distribution", maybe you mean the standard normal, but that seems unlikelt given your restriction on x.

You could try googling for the Box-Muller algorithm.

CB