roundup2(x, y) does not assume that x is power of 2, but y is.
This commit is contained in:
parent
c5e2eec221
commit
c25b258560
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: roundup.9,v 1.3 2010/06/08 09:02:55 jruoho Exp $
|
||||
.\" $NetBSD: roundup.9,v 1.4 2011/01/24 10:22:15 enami Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
|
@ -65,7 +65,7 @@ rounding the residual up.
|
|||
The
|
||||
.Fn roundup2
|
||||
macro also rounds up, but with the assumption that
|
||||
.Fa x
|
||||
.Fa size
|
||||
is a power of two.
|
||||
If
|
||||
.Fa x
|
||||
|
|
Loading…
Reference in New Issue