Re: Issue in man page fmod.3

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

 



Hi Helge,

On Sun, Nov 17, 2024 at 10:46:25AM GMT, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue 1:  Either B<fmod>() → B<fmod>    or → I<fmod>()

The formatting is correct.  The name of a function is written in bold.
(This will soon change, due to the use of the new .MR man(7) macro.)

> Issue 2:  What does "cost a branch" really mean? Branch of execution?

Yes.  Running fmod() is slower than an if().

The wording is a bit weird.  I'll revise that...

Cheers,
Alex

> 
> "An alternate way to express this is with I<fmod(fmod(x, y) + y, y)>, but the "
> "second B<fmod>()  usually costs way more than the one branch."

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux