Skip to content

Commit a737e31

Browse files
author
maechler
committed
not qnorm5(), preparing Rmath.h change
git-svn-id: https://svn.r-project.org/R/trunk@87504 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent edc06a3 commit a737e31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nmath/snorm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Mathlib : A C Library of Special Functions
3+
* Copyright (C) 2000-2025 The R Core Team
34
* Copyright (C) 1998 Ross Ihaka
4-
* Copyright (C) 2000-2022 The R Core Team
55
*
66
* This program is free software; you can redistribute it and/or modify
77
* it under the terms of the GNU General Public License as published by
@@ -267,7 +267,7 @@ double norm_rand(void)
267267
/* unif_rand() alone is not of high enough precision */
268268
u1 = unif_rand();
269269
u1 = (int)(BIG*u1) + unif_rand();
270-
return qnorm5(u1/BIG, 0.0, 1.0, 1, 0);
270+
return qnorm(u1/BIG, 0.0, 1.0, 1, 0);
271271
case KINDERMAN_RAMAGE: /* see Reference above */
272272
/* corrected version from Josef Leydold
273273
* */

0 commit comments

Comments
 (0)