1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed typo in comment

alway -> always
This commit is contained in:
Ikko Ashimine 2020-10-10 15:20:42 +09:00 committed by Marc-André Lafortune
parent 5ea2ea74cc
commit df25007046
Notes: git 2020-10-10 15:32:46 +09:00

View file

@ -4181,7 +4181,7 @@ VpAlloc(size_t mx, const char *szVal, int strict_p, int exc)
/* at least mx digits. */
/* szVal==NULL ==> allocate zero value. */
vp = VpAllocReal(mx);
/* xmalloc() alway returns(or throw interruption) */
/* xmalloc() always returns(or throw interruption) */
vp->MaxPrec = mx; /* set max precision */
VpSetZero(vp, 1); /* initialize vp to zero. */
return vp;
@ -4357,7 +4357,7 @@ VpAlloc(size_t mx, const char *szVal, int strict_p, int exc)
nalloc = Max(nalloc, mx);
mx = nalloc;
vp = VpAllocReal(mx);
/* xmalloc() alway returns(or throw interruption) */
/* xmalloc() always returns(or throw interruption) */
vp->MaxPrec = mx; /* set max precision */
VpSetZero(vp, sign);
VpCtoV(vp, psz, ni, psz + ipf, nf, psz + ipe, ne);