Re: Parallel programming book query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 17, 2018 at 01:04:37PM -0800, Mark Morrissey wrote:
> Hi Paul,
> 
> I am looking at your parallel programming book, 12/5/2018 version. In
> formula E.6, you use the floor function rather than the ceiling function.
> Is this deliberate or perhaps in error?

Good question!

The intent is that the "+ s - 1" in the numerator does the upwards part
of the rounding, and the floor function does the rest.

Or am I missing something here?  It should be possible to express this
in terms of the ceiling function, though that would be further removed
from C code implementing this equation.

Adding Alexey and the list on CC.  This is on page 423 (PDF page 435) of
https://mirrors.edge.kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.2018.12.08a.pdf

							Thanx, Paul




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux