To draw N(μ,1) restricted to a positive value, let a=Φ(−μ) and return μ+Φ−1(a+(1−a)U) for uniform U∈(0,1). For restriction to a negative value use μ+Φ−1(aU). These are inverse transform sampling constructions. Repeatedly drawing an untruncated normal until its sign agrees is also exact, but inefficient for rare signs.