All of lore.kernel.org
 help / color / mirror / Atom feed
* modf, modff, modfl etc
@ 2013-10-07 18:04 Jon Grant
  0 siblings, 0 replies; only message in thread
From: Jon Grant @ 2013-10-07 18:04 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hello mtk

Should functions like modf(), which have float, and long-double
precision include that explanation in the DESCRIPTION section of the
man page? eg. add something about modff, modfl

http://man7.org/linux/man-pages/man3/modf.3.html

Current text:

"The modf() function breaks the argument x into an integral part and a
fractional part, each of which has the same sign as x.  The integral
part is stored in the location pointed to by iptr."


Could be changed to:
"The modf() function breaks the argument x into an integral part and a
fractional part, each of which has the same sign as x.  The integral
part is stored in the location pointed to by iptr. The modff() function
operates the same way with float. The modfl() function operates the
same way with long double"




Similarly same query applies to others:
http://man7.org/linux/man-pages/man3/ldexp.3.html
http://man7.org/linux/man-pages/man3/frexp.3.html


"CONFORMING TO         top

       C99, POSIX.1-2001.  The variant returning double also conforms to
       SVr4, 4.3BSD, C89."

^ Should this say "modf which returns double also conforms to" etc,
just to be clear which one it is?
Does this meant hat modff and modfl don't conform?


Best regards, Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-07 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-07 18:04 modf, modff, modfl etc Jon Grant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.