NetBSD-Docs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libm man page fixes
Hi, here are fixes for man pages related to libm (math.h).
There are stylistic changes in the Makefile, I know that
style changes and functional changes should be separate so
I can revert the style change if you want to before commit.
All the added functions are in math.h on NetBSD 7 as well as
NetBSD-current.
Regards,
Niclas Rosenvik
Index: distrib/sets/lists/comp/mi
===================================================================
RCS file: /cvsroot/src/distrib/sets/lists/comp/mi,v
retrieving revision 1.2004
diff -u -r1.2004 mi
--- distrib/sets/lists/comp/mi 7 Nov 2015 16:21:42 -0000 1.2004
+++ distrib/sets/lists/comp/mi 11 Nov 2015 08:55:34 -0000
@@ -11878,6 +11878,8 @@
./usr/share/man/html3/acosf.html comp-c-htmlman html
./usr/share/man/html3/acosh.html comp-c-htmlman html
./usr/share/man/html3/acoshf.html comp-c-htmlman html
+./usr/share/man/html3/acoshl.html comp-c-htmlman html
+./usr/share/man/html3/acosl.html comp-c-htmlman html
./usr/share/man/html3/addch.html comp-c-htmlman html
./usr/share/man/html3/addchnstr.html comp-c-htmlman html
./usr/share/man/html3/addchstr.html comp-c-htmlman html
@@ -12088,6 +12090,8 @@
./usr/share/man/html3/asinf.html comp-c-htmlman html
./usr/share/man/html3/asinh.html comp-c-htmlman html
./usr/share/man/html3/asinhf.html comp-c-htmlman html
+./usr/share/man/html3/asinhl.html comp-c-htmlman html
+./usr/share/man/html3/asinl.html comp-c-htmlman html
./usr/share/man/html3/asprintf.html comp-c-htmlman html
./usr/share/man/html3/assert.html comp-c-htmlman html
./usr/share/man/html3/assume_default_colors.html comp-c-htmlman html
@@ -12095,9 +12099,12 @@
./usr/share/man/html3/atan.html comp-c-htmlman html
./usr/share/man/html3/atan2.html comp-c-htmlman html
./usr/share/man/html3/atan2f.html comp-c-htmlman html
+./usr/share/man/html3/atan2l.html comp-c-htmlman html
./usr/share/man/html3/atanf.html comp-c-htmlman html
./usr/share/man/html3/atanh.html comp-c-htmlman html
./usr/share/man/html3/atanhf.html comp-c-htmlman html
+./usr/share/man/html3/atanhl.html comp-c-htmlman html
+./usr/share/man/html3/atanl.html comp-c-htmlman html
./usr/share/man/html3/atexit.html comp-c-htmlman html
./usr/share/man/html3/atf-c++-api.html comp-atf-htmlman html,atf
./usr/share/man/html3/atf-c-api.html comp-atf-htmlman html,atf
@@ -12451,6 +12458,8 @@
./usr/share/man/html3/cosf.html comp-c-htmlman html
./usr/share/man/html3/cosh.html comp-c-htmlman html
./usr/share/man/html3/coshf.html comp-c-htmlman html
+./usr/share/man/html3/coshl.html comp-c-htmlman html
+./usr/share/man/html3/cosl.html comp-c-htmlman html
./usr/share/man/html3/cpow.html comp-c-htmlman complex,html
./usr/share/man/html3/cpowf.html comp-c-htmlman complex,html
./usr/share/man/html3/cpowl.html comp-c-htmlman complex,html
@@ -13079,11 +13088,14 @@
./usr/share/man/html3/exp.html comp-c-htmlman html
./usr/share/man/html3/exp2.html comp-c-htmlman html
./usr/share/man/html3/exp2f.html comp-c-htmlman html
+./usr/share/man/html3/exp2l.html comp-c-htmlman html
./usr/share/man/html3/expf.html comp-c-htmlman html
+./usr/share/man/html3/expl.html comp-c-htmlman html
./usr/share/man/html3/explicit_bzero.html comp-obsolete obsolete
./usr/share/man/html3/explicit_memset.html comp-c-htmlman html
./usr/share/man/html3/expm1.html comp-c-htmlman html
./usr/share/man/html3/expm1f.html comp-c-htmlman html
+./usr/share/man/html3/expm1l.html comp-c-htmlman html
./usr/share/man/html3/extattr.html comp-obsolete obsolete
./usr/share/man/html3/extattr_copy_fd.html comp-c-htmlman html
./usr/share/man/html3/extattr_copy_file.html comp-c-htmlman html
@@ -13092,6 +13104,7 @@
./usr/share/man/html3/extattr_string_to_namespace.html comp-c-htmlman html
./usr/share/man/html3/fabs.html comp-c-htmlman html
./usr/share/man/html3/fabsf.html comp-c-htmlman html
+./usr/share/man/html3/fabsl.html comp-c-htmlman html
./usr/share/man/html3/fast_divide32.html comp-c-htmlman html
./usr/share/man/html3/fast_divide32_prepare.html comp-c-htmlman html
./usr/share/man/html3/fast_remainder32.html comp-c-htmlman html
@@ -13543,6 +13556,7 @@
./usr/share/man/html3/humanize_number.html comp-c-htmlman html
./usr/share/man/html3/hypot.html comp-c-htmlman html
./usr/share/man/html3/hypotf.html comp-c-htmlman html
+./usr/share/man/html3/hypotl.html comp-c-htmlman html
./usr/share/man/html3/iconv.html comp-c-htmlman html
./usr/share/man/html3/iconv_close.html comp-c-htmlman html
./usr/share/man/html3/iconv_open.html comp-c-htmlman html
@@ -14406,6 +14420,7 @@
./usr/share/man/html3/lgamma_r.html comp-c-htmlman html
./usr/share/man/html3/lgammaf.html comp-c-htmlman html
./usr/share/man/html3/lgammaf_r.html comp-c-htmlman html
+./usr/share/man/html3/lgammal.html comp-c-htmlman html
./usr/share/man/html3/lh_stats.html comp-c-htmlman crypto,html
./usr/share/man/html3/libarchive.html comp-c-htmlman html
./usr/share/man/html3/libarchive_internals.html comp-c-htmlman html
@@ -14435,6 +14450,7 @@
./usr/share/man/html3/lldiv.html comp-c-htmlman html
./usr/share/man/html3/llrint.html comp-c-htmlman html
./usr/share/man/html3/llrintf.html comp-c-htmlman html
+./usr/share/man/html3/llrintl.html comp-c-htmlman html
./usr/share/man/html3/localeconv.html comp-c-htmlman html
./usr/share/man/html3/localtime.html comp-c-htmlman html
./usr/share/man/html3/localtime_r.html comp-c-htmlman html
@@ -14443,10 +14459,13 @@
./usr/share/man/html3/log.html comp-c-htmlman html
./usr/share/man/html3/log10.html comp-c-htmlman html
./usr/share/man/html3/log10f.html comp-c-htmlman html
+./usr/share/man/html3/log10l.html comp-c-htmlman html
./usr/share/man/html3/log1p.html comp-c-htmlman html
./usr/share/man/html3/log1pf.html comp-c-htmlman html
+./usr/share/man/html3/log1pl.html comp-c-htmlman html
./usr/share/man/html3/log2.html comp-c-htmlman html
./usr/share/man/html3/log2f.html comp-c-htmlman html
+./usr/share/man/html3/log2l.html comp-c-htmlman html
./usr/share/man/html3/logb.html comp-c-htmlman html
./usr/share/man/html3/logbf.html comp-c-htmlman html
./usr/share/man/html3/logbl.html comp-c-htmlman html
@@ -14463,6 +14482,7 @@
./usr/share/man/html3/login_getpwclass.html comp-c-htmlman html
./usr/share/man/html3/login_tty.html comp-c-htmlman html
./usr/share/man/html3/loginx.html comp-c-htmlman html
+./usr/share/man/html3/logl.html comp-c-htmlman html
./usr/share/man/html3/logout.html comp-c-htmlman html
./usr/share/man/html3/logoutx.html comp-c-htmlman html
./usr/share/man/html3/logwtmp.html comp-c-htmlman html
@@ -14473,6 +14493,7 @@
./usr/share/man/html3/lrand48.html comp-c-htmlman html
./usr/share/man/html3/lrint.html comp-c-htmlman html
./usr/share/man/html3/lrintf.html comp-c-htmlman html
+./usr/share/man/html3/lrintl.html comp-c-htmlman html
./usr/share/man/html3/lsearch.html comp-c-htmlman html
./usr/share/man/html3/magic_buffer.html comp-c-htmlman html
./usr/share/man/html3/magic_check.html comp-c-htmlman html
@@ -14647,6 +14668,7 @@
./usr/share/man/html3/nextafterl.html comp-c-htmlman html
./usr/share/man/html3/nexttoward.html comp-c-htmlman html
./usr/share/man/html3/nexttowardf.html comp-c-htmlman html
+./usr/share/man/html3/nexttowardl.html comp-c-htmlman html
./usr/share/man/html3/nftw.html comp-c-htmlman html
./usr/share/man/html3/ngettext.html comp-c-htmlman html
./usr/share/man/html3/nice.html comp-c-htmlman html
@@ -14881,6 +14903,7 @@
./usr/share/man/html3/post_menu.html comp-c-htmlman html
./usr/share/man/html3/pow.html comp-c-htmlman html
./usr/share/man/html3/powf.html comp-c-htmlman html
+./usr/share/man/html3/powl.html comp-c-htmlman html
./usr/share/man/html3/ppath.html comp-c-htmlman html
./usr/share/man/html3/ppath_bool.html comp-c-htmlman html
./usr/share/man/html3/ppath_component_at.html comp-c-htmlman html
@@ -15314,10 +15337,12 @@
./usr/share/man/html3/registerrpc.html comp-c-htmlman html
./usr/share/man/html3/remainder.html comp-c-htmlman html
./usr/share/man/html3/remainderf.html comp-c-htmlman html
+./usr/share/man/html3/remainderl.html comp-c-htmlman html
./usr/share/man/html3/remove.html comp-c-htmlman html
./usr/share/man/html3/remque.html comp-c-htmlman html
./usr/share/man/html3/remquo.html comp-c-htmlman html
./usr/share/man/html3/remquof.html comp-c-htmlman html
+./usr/share/man/html3/remquol.html comp-c-htmlman html
./usr/share/man/html3/request_init.html comp-c-htmlman html
./usr/share/man/html3/request_set.html comp-c-htmlman html
./usr/share/man/html3/res_close.html comp-c-htmlman html
@@ -15631,6 +15656,8 @@
./usr/share/man/html3/sinf.html comp-c-htmlman html
./usr/share/man/html3/sinh.html comp-c-htmlman html
./usr/share/man/html3/sinhf.html comp-c-htmlman html
+./usr/share/man/html3/sinhl.html comp-c-htmlman html
+./usr/share/man/html3/sinl.html comp-c-htmlman html
./usr/share/man/html3/skey.html comp-c-htmlman skey,html
./usr/share/man/html3/skey_authenticate.html comp-c-htmlman skey,html
./usr/share/man/html3/skey_get_algorithm.html comp-c-htmlman skey,html
@@ -15825,6 +15852,8 @@
./usr/share/man/html3/tanf.html comp-c-htmlman html
./usr/share/man/html3/tanh.html comp-c-htmlman html
./usr/share/man/html3/tanhf.html comp-c-htmlman html
+./usr/share/man/html3/tanhl.html comp-c-htmlman html
+./usr/share/man/html3/tanl.html comp-c-htmlman html
./usr/share/man/html3/tcdrain.html comp-c-htmlman html
./usr/share/man/html3/tcflow.html comp-c-htmlman html
./usr/share/man/html3/tcflush.html comp-c-htmlman html
@@ -15844,6 +15873,7 @@
./usr/share/man/html3/tfind.html comp-c-htmlman html
./usr/share/man/html3/tgamma.html comp-c-htmlman html
./usr/share/man/html3/tgammaf.html comp-c-htmlman html
+./usr/share/man/html3/tgammal.html comp-c-htmlman html
./usr/share/man/html3/tgetent.html comp-c-htmlman html
./usr/share/man/html3/tgetflag.html comp-c-htmlman html
./usr/share/man/html3/tgetnum.html comp-c-htmlman html
@@ -18682,6 +18712,8 @@
./usr/share/man/man3/acosf.3 comp-c-man .man
./usr/share/man/man3/acosh.3 comp-c-man .man
./usr/share/man/man3/acoshf.3 comp-c-man .man
+./usr/share/man/man3/acoshl.3 comp-c-man .man
+./usr/share/man/man3/acosl.3 comp-c-man .man
./usr/share/man/man3/addch.3 comp-c-man .man
./usr/share/man/man3/addchnstr.3 comp-c-man .man
./usr/share/man/man3/addchstr.3 comp-c-man .man
@@ -18892,6 +18924,8 @@
./usr/share/man/man3/asinf.3 comp-c-man .man
./usr/share/man/man3/asinh.3 comp-c-man .man
./usr/share/man/man3/asinhf.3 comp-c-man .man
+./usr/share/man/man3/asinhl.3 comp-c-man .man
+./usr/share/man/man3/asinl.3 comp-c-man .man
./usr/share/man/man3/asprintf.3 comp-c-man .man
./usr/share/man/man3/assert.3 comp-c-man .man
./usr/share/man/man3/assume_default_colors.3 comp-c-man .man
@@ -18899,9 +18933,12 @@
./usr/share/man/man3/atan.3 comp-c-man .man
./usr/share/man/man3/atan2.3 comp-c-man .man
./usr/share/man/man3/atan2f.3 comp-c-man .man
+./usr/share/man/man3/atan2l.3 comp-c-man .man
./usr/share/man/man3/atanf.3 comp-c-man .man
./usr/share/man/man3/atanh.3 comp-c-man .man
./usr/share/man/man3/atanhf.3 comp-c-man .man
+./usr/share/man/man3/atanhl.3 comp-c-man .man
+./usr/share/man/man3/atanl.3 comp-c-man .man
./usr/share/man/man3/atexit.3 comp-c-man .man
./usr/share/man/man3/atf-c++-api.3 comp-atf-man .man,atf
./usr/share/man/man3/atf-c-api.3 comp-atf-man .man,atf
@@ -19308,6 +19345,8 @@
./usr/share/man/man3/cosf.3 comp-c-man .man
./usr/share/man/man3/cosh.3 comp-c-man .man
./usr/share/man/man3/coshf.3 comp-c-man .man
+./usr/share/man/man3/coshl.3 comp-c-man .man
+./usr/share/man/man3/cosl.3 comp-c-man .man
./usr/share/man/man3/cpow.3 comp-c-man complex,.man
./usr/share/man/man3/cpowf.3 comp-c-man complex,.man
./usr/share/man/man3/cpowl.3 comp-c-man complex,.man
@@ -19938,11 +19977,14 @@
./usr/share/man/man3/exp.3 comp-c-man .man
./usr/share/man/man3/exp2.3 comp-c-man .man
./usr/share/man/man3/exp2f.3 comp-c-man .man
+./usr/share/man/man3/exp2l.3 comp-c-man .man
./usr/share/man/man3/expf.3 comp-c-man .man
+./usr/share/man/man3/expl.3 comp-c-man .man
./usr/share/man/man3/explicit_bzero.3 comp-obsolete obsolete
./usr/share/man/man3/explicit_memset.3 comp-c-man .man
./usr/share/man/man3/expm1.3 comp-c-man .man
./usr/share/man/man3/expm1f.3 comp-c-man .man
+./usr/share/man/man3/expm1l.3 comp-c-man .man
./usr/share/man/man3/extattr.3 comp-obsolete obsolete
./usr/share/man/man3/extattr_copy_fd.3 comp-c-man .man
./usr/share/man/man3/extattr_copy_file.3 comp-c-man .man
@@ -19951,6 +19993,7 @@
./usr/share/man/man3/extattr_string_to_namespace.3 comp-c-man .man
./usr/share/man/man3/fabs.3 comp-c-man .man
./usr/share/man/man3/fabsf.3 comp-c-man .man
+./usr/share/man/man3/fabsl.3 comp-c-man .man
./usr/share/man/man3/fast_divide32.3 comp-c-man .man
./usr/share/man/man3/fast_divide32_prepare.3 comp-c-man .man
./usr/share/man/man3/fast_remainder32.3 comp-c-man .man
@@ -20406,6 +20449,7 @@
./usr/share/man/man3/humanize_number.3 comp-c-man .man
./usr/share/man/man3/hypot.3 comp-c-man .man
./usr/share/man/man3/hypotf.3 comp-c-man .man
+./usr/share/man/man3/hypotl.3 comp-c-man .man
./usr/share/man/man3/iconv.3 comp-c-man .man
./usr/share/man/man3/iconv_close.3 comp-c-man .man
./usr/share/man/man3/iconv_open.3 comp-c-man .man
@@ -21288,6 +21332,7 @@
./usr/share/man/man3/lgamma_r.3 comp-c-man .man
./usr/share/man/man3/lgammaf.3 comp-c-man .man
./usr/share/man/man3/lgammaf_r.3 comp-c-man .man
+./usr/share/man/man3/lgammal.3 comp-c-man .man
./usr/share/man/man3/lh_stats.3 comp-c-man crypto,.man
./usr/share/man/man3/lhash.3 comp-obsolete obsolete
./usr/share/man/man3/libarchive.3 comp-c-man .man
@@ -21330,6 +21375,7 @@
./usr/share/man/man3/lldiv.3 comp-c-man .man
./usr/share/man/man3/llrint.3 comp-c-man .man
./usr/share/man/man3/llrintf.3 comp-c-man .man
+./usr/share/man/man3/llrintl.3 comp-c-man .man
./usr/share/man/man3/localeconv.3 comp-c-man .man
./usr/share/man/man3/localtime.3 comp-c-man .man
./usr/share/man/man3/localtime_r.3 comp-c-man .man
@@ -21338,14 +21384,18 @@
./usr/share/man/man3/log.3 comp-c-man .man
./usr/share/man/man3/log10.3 comp-c-man .man
./usr/share/man/man3/log10f.3 comp-c-man .man
+./usr/share/man/man3/log10l.3 comp-c-man .man
./usr/share/man/man3/log1p.3 comp-c-man .man
./usr/share/man/man3/log1pf.3 comp-c-man .man
+./usr/share/man/man3/log1pl.3 comp-c-man .man
./usr/share/man/man3/log2.3 comp-c-man .man
./usr/share/man/man3/log2f.3 comp-c-man .man
+./usr/share/man/man3/log2l.3 comp-c-man .man
./usr/share/man/man3/logb.3 comp-c-man .man
./usr/share/man/man3/logbf.3 comp-c-man .man
./usr/share/man/man3/logbl.3 comp-c-man .man
./usr/share/man/man3/logf.3 comp-c-man .man
+./usr/share/man/man3/logl.3 comp-c-man .man
./usr/share/man/man3/login.3 comp-c-man .man
./usr/share/man/man3/login_cap.3 comp-c-man .man
./usr/share/man/man3/login_close.3 comp-c-man .man
@@ -21368,6 +21418,7 @@
./usr/share/man/man3/lrand48.3 comp-c-man .man
./usr/share/man/man3/lrint.3 comp-c-man .man
./usr/share/man/man3/lrintf.3 comp-c-man .man
+./usr/share/man/man3/lrintl.3 comp-c-man .man
./usr/share/man/man3/lsearch.3 comp-c-man .man
./usr/share/man/man3/magic_buffer.3 comp-c-man .man
./usr/share/man/man3/magic_check.3 comp-c-man .man
@@ -21543,6 +21594,7 @@
./usr/share/man/man3/nextafterl.3 comp-c-man .man
./usr/share/man/man3/nexttoward.3 comp-c-man .man
./usr/share/man/man3/nexttowardf.3 comp-c-man .man
+./usr/share/man/man3/nexttowardl.3 comp-c-man .man
./usr/share/man/man3/nftw.3 comp-c-man .man
./usr/share/man/man3/ngettext.3 comp-c-man .man
./usr/share/man/man3/nice.3 comp-c-man .man
@@ -21780,6 +21832,7 @@
./usr/share/man/man3/post_menu.3 comp-c-man .man
./usr/share/man/man3/pow.3 comp-c-man .man
./usr/share/man/man3/powf.3 comp-c-man .man
+./usr/share/man/man3/powl.3 comp-c-man .man
./usr/share/man/man3/ppath.3 comp-c-man .man
./usr/share/man/man3/ppath_bool.3 comp-c-man .man
./usr/share/man/man3/ppath_component_at.3 comp-c-man .man
@@ -22218,10 +22271,12 @@
./usr/share/man/man3/regsterrpc.3 comp-obsolete obsolete
./usr/share/man/man3/remainder.3 comp-c-man .man
./usr/share/man/man3/remainderf.3 comp-c-man .man
+./usr/share/man/man3/remainderl.3 comp-c-man .man
./usr/share/man/man3/remove.3 comp-c-man .man
./usr/share/man/man3/remque.3 comp-c-man .man
./usr/share/man/man3/remquo.3 comp-c-man .man
./usr/share/man/man3/remquof.3 comp-c-man .man
+./usr/share/man/man3/remquol.3 comp-c-man .man
./usr/share/man/man3/request_init.3 comp-c-man .man
./usr/share/man/man3/request_set.3 comp-c-man .man
./usr/share/man/man3/res_close.3 comp-c-man .man
@@ -22550,6 +22605,8 @@
./usr/share/man/man3/sinf.3 comp-c-man .man
./usr/share/man/man3/sinh.3 comp-c-man .man
./usr/share/man/man3/sinhf.3 comp-c-man .man
+./usr/share/man/man3/sinhl.3 comp-c-man .man
+./usr/share/man/man3/sinl.3 comp-c-man .man
./usr/share/man/man3/skey.3 comp-c-man skey,.man
./usr/share/man/man3/skey_authenticate.3 comp-c-man skey,.man
./usr/share/man/man3/skey_get_algorithm.3 comp-c-man skey,.man
@@ -22759,6 +22816,8 @@
./usr/share/man/man3/tanf.3 comp-c-man .man
./usr/share/man/man3/tanh.3 comp-c-man .man
./usr/share/man/man3/tanhf.3 comp-c-man .man
+./usr/share/man/man3/tanhl.3 comp-c-man .man
+./usr/share/man/man3/tanl.3 comp-c-man .man
./usr/share/man/man3/tcdrain.3 comp-c-man .man
./usr/share/man/man3/tcflow.3 comp-c-man .man
./usr/share/man/man3/tcflush.3 comp-c-man .man
@@ -22778,6 +22837,7 @@
./usr/share/man/man3/tfind.3 comp-c-man .man
./usr/share/man/man3/tgamma.3 comp-c-man .man
./usr/share/man/man3/tgammaf.3 comp-c-man .man
+./usr/share/man/man3/tgammal.3 comp-c-man .man
./usr/share/man/man3/tgetent.3 comp-c-man .man
./usr/share/man/man3/tgetflag.3 comp-c-man .man
./usr/share/man/man3/tgetnum.3 comp-c-man .man
Index: lib/libm/Makefile
===================================================================
RCS file: /cvsroot/src/lib/libm/Makefile,v
retrieving revision 1.170
diff -u -r1.170 Makefile
--- lib/libm/Makefile 13 Sep 2015 10:58:30 -0000 1.170
+++ lib/libm/Makefile 11 Nov 2015 08:56:06 -0000
@@ -298,13 +298,20 @@
fegetenv.3 feupdateenv.3
MLINKS+=fegetround.3 fesetround.3
-MLINKS+=acos.3 acosf.3
-MLINKS+=acosh.3 acoshf.3
-MLINKS+=asin.3 asinf.3
-MLINKS+=asinh.3 asinhf.3
-MLINKS+=atan.3 atanf.3
-MLINKS+=atan2.3 atan2f.3
-MLINKS+=atanh.3 atanhf.3
+MLINKS+=acos.3 acosf.3 \
+ acos.3 acosl.3
+MLINKS+=acosh.3 acoshf.3 \
+ acosh.3 acoshl.3
+MLINKS+=asin.3 asinf.3 \
+ asin.3 asinl.3
+MLINKS+=asinh.3 asinhf.3 \
+ asinh.3 asinhl.3
+MLINKS+=atan.3 atanf.3 \
+ atan.3 atanl.3
+MLINKS+=atan2.3 atan2f.3 \
+ atan2.3 atan2l.3
+MLINKS+=atanh.3 atanhf.3 \
+ atanh.3 atanhl.3
MLINKS+=ceil.3 ceilf.3 \
ceil.3 ceill.3 \
ceil.3 floor.3 \
@@ -312,28 +319,43 @@
ceil.3 floorl.3
MLINKS+=copysign.3 copysignf.3 \
copysign.3 copysignl.3
-MLINKS+=cos.3 cosf.3
-MLINKS+=cosh.3 coshf.3
+MLINKS+=cos.3 cosf.3 \
+ cos.3 cosl.3
+MLINKS+=cosh.3 coshf.3 \
+ cosh.3 coshl.3
MLINKS+=erf.3 erff.3 \
erf.3 erfl.3 \
erf.3 erfc.3 \
erf.3 erfcf.3 \
erf.3 erfcl.3
-MLINKS+=exp.3 expf.3 exp.3 expm1.3 exp.3 expm1f.3 \
- exp.3 exp2.3 exp.3 exp2f.3
+MLINKS+=exp.3 expf.3 \
+ exp.3 expl.3 \
+ exp.3 expm1.3 \
+ exp.3 expm1f.3 \
+ exp.3 expm1l.3 \
+ exp.3 exp2.3 \
+ exp.3 exp2f.3 \
+ exp.3 exp2l.3
MLINKS+=log.3 logf.3 \
+ log.3 logl.3 \
log.3 log10.3 \
log.3 log10f.3 \
+ log.3 log10l.3 \
log.3 log1p.3 \
log.3 log1pf.3 \
+ log.3 log1pl.3 \
log.3 log2.3 \
- log.3 log2f.3
-MLINKS+=pow.3 powf.3
-MLINKS+=fabs.3 fabsf.3
+ log.3 log2f.3 \
+ log.3 log2l.3
+MLINKS+=pow.3 powf.3 \
+ pow.3 powl.3
+MLINKS+=fabs.3 fabsf.3 \
+ fabs.3 fabsl.3
MLINKS+=finite.3 finitef.3
MLINKS+=fmod.3 fmodf.3 \
fmod.3 fmodl.3
-MLINKS+=hypot.3 hypotf.3
+MLINKS+=hypot.3 hypotf.3 \
+ hypot.3 hypotl.3
MLINKS+=ieee_test.3 logb.3 ieee_test.3 logbf.3 ieee_test.3 logbl.3
MLINKS+=ieee_test.3 scalb.3 ieee_test.3 scalbf.3
MLINKS+=ieee_test.3 significand.3 ieee_test.3 significandf.3
@@ -341,19 +363,34 @@
MLINKS+=isinff.3 isnanf.3
MLINKS+=j0.3 j0f.3 j0.3 j1.3 j0.3 j1f.3 j0.3 jn.3 j0.3 jnf.3 \
j0.3 y0.3 j0.3 y0f.3 j0.3 y1.3 j0.3 y1f.3 j0.3 yn.3 j0.3 ynf.3
-MLINKS+=lgamma.3 lgammaf.3 lgamma.3 lgamma_r.3 lgamma.3 lgammaf_r.3 \
- lgamma.3 gamma.3 lgamma.3 gammaf.3 lgamma.3 gamma_r.3 \
- lgamma.3 gammaf_r.3 lgamma.3 tgamma.3 lgamma.3 tgammaf.3
+MLINKS+=lgamma.3 lgammaf.3 \
+ lgamma.3 lgammal.3 \
+ lgamma.3 lgamma_r.3 \
+ lgamma.3 lgammaf_r.3 \
+ lgamma.3 gamma.3 \
+ lgamma.3 gammaf.3 \
+ lgamma.3 gamma_r.3 \
+ lgamma.3 gammaf_r.3 \
+ lgamma.3 tgamma.3 \
+ lgamma.3 tgammaf.3 \
+ lgamma.3 tgammal.3
MLINKS+=modf.3 modff.3 \
modf.3 modfl.3
MLINKS+=nextafter.3 nextafterf.3 \
nextafter.3 nextafterl.3 \
nextafter.3 nexttoward.3 \
- nextafter.3 nexttowardf.3
-MLINKS+=lrint.3 lrintf.3 lrint.3 llrint.3 lrint.3 llrintf.3
+ nextafter.3 nexttowardf.3 \
+ nextafter.3 nexttowardl.3
+MLINKS+=lrint.3 lrintf.3 \
+ lrint.3 lrintl.3 \
+ lrint.3 llrint.3 \
+ lrint.3 llrintf.3 \
+ lrint.3 llrintl.3
MLINKS+=remainder.3 remainderf.3 \
+ remainder.3 remainderl.3 \
remainder.3 remquo.3 \
- remainder.3 remquof.3
+ remainder.3 remquof.3 \
+ remainder.3 remquol.3
MLINKS+=rint.3 rintf.3 \
rint.3 rintl.3 \
rint.3 nearbyint.3 \
@@ -361,12 +398,16 @@
rint.3 nearbyintl.3
MLINKS+=scalbn.3 scalbnf.3 \
scalbn.3 scalbnl.3
-MLINKS+=sin.3 sinf.3
-MLINKS+=sin.3 sinhf.3
+MLINKS+=sin.3 sinf.3 \
+ sin.3 sinl.3
+MLINKS+=sinh.3 sinhf.3 \
+ sinh.3 sinhl.3
MLINKS+=sqrt.3 sqrtf.3 sqrt.3 sqrtl.3 \
sqrt.3 cbrt.3 sqrt.3 cbrtf.3 sqrt.3 cbrtl.3
-MLINKS+=tan.3 tanf.3
-MLINKS+=tanh.3 tanhf.3
+MLINKS+=tan.3 tanf.3 \
+ tan.3 tanl.3
+MLINKS+=tanh.3 tanhf.3 \
+ tanh.3 tanhl.3
MLINKS+=round.3 roundf.3 \
round.3 roundl.3
MLINKS+=trunc.3 truncf.3 \
Index: lib/libm/man/cos.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/cos.3,v
retrieving revision 1.15
diff -u -r1.15 cos.3
--- lib/libm/man/cos.3 7 Aug 2003 16:44:47 -0000 1.15
+++ lib/libm/man/cos.3 11 Nov 2015 08:56:06 -0000
@@ -28,12 +28,13 @@
.\" from: @(#)cos.3 5.1 (Berkeley) 5/2/91
.\" $NetBSD: cos.3,v 1.15 2003/08/07 16:44:47 agc Exp $
.\"
-.Dd May 2, 1991
+.Dd November 11, 2015
.Dt COS 3
.Os
.Sh NAME
.Nm cos ,
-.Nm cosf
+.Nm cosf ,
+.Nm cosl
.Nd cosine function
.Sh LIBRARY
.Lb libm
@@ -43,11 +44,15 @@
.Fn cos "double x"
.Ft float
.Fn cosf "float x"
+.Ft long double
+.Fn cosl "long double x"
.Sh DESCRIPTION
The
.Fn cos
-and
+,
.Fn cosf
+and
+.Fn cosl
functions compute the cosine of
.Fa x
(measured in radians).
@@ -58,7 +63,7 @@
.Sh RETURN VALUES
The
.Fn cos
-function returns the cosine value.
+family of functions return the cosine value.
.Sh SEE ALSO
.Xr acos 3 ,
.Xr asin 3 ,
@@ -75,3 +80,9 @@
.Fn cos
function conforms to
.St -ansiC .
+The
+.Fn cosf
+and
+.Fn cosl
+functions conforms to
+.St -isoC-99
Index: lib/libm/man/cosh.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/cosh.3,v
retrieving revision 1.15
diff -u -r1.15 cosh.3
--- lib/libm/man/cosh.3 7 Aug 2003 16:44:47 -0000 1.15
+++ lib/libm/man/cosh.3 11 Nov 2015 08:56:06 -0000
@@ -28,7 +28,7 @@
.\" from: @(#)cosh.3 5.1 (Berkeley) 5/2/91
.\" $NetBSD: cosh.3,v 1.15 2003/08/07 16:44:47 agc Exp $
.\"
-.Dd May 2, 1991
+.Dd November 11, 2015
.Dt COSH 3
.Os
.Sh NAME
@@ -43,18 +43,22 @@
.Fn cosh "double x"
.Ft float
.Fn coshf "float x"
+.Ft long double
+.Fn coshl "long double x"
.Sh DESCRIPTION
The
-.Fn cosh
-and
+.Fn cosh ,
.Fn coshf
+and
+.Fn coshl
functions compute the hyperbolic cosine of
.Fa x .
.Sh RETURN VALUES
If the magnitude of x is too large,
-.Fn cosh "x"
-and
+.Fn cosh "x" ,
.Fn coshf "x"
+and
+.Fn coshl "x"
.\" POSIX_MODE
return Inf and sets the global variable
.Va errno
@@ -79,3 +83,9 @@
.Fn cosh
function conforms to
.St -ansiC .
+The
+.Fn coshf
+and
+.Fn coshl
+functions conform to
+.St -isoC-99 .
Index: lib/libm/man/exp.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/exp.3,v
retrieving revision 1.29
diff -u -r1.29 exp.3
--- lib/libm/man/exp.3 6 Nov 2012 21:43:37 -0000 1.29
+++ lib/libm/man/exp.3 11 Nov 2015 08:56:06 -0000
@@ -29,18 +29,20 @@
.\" $FreeBSD: src/lib/msun/man/exp.3,v 1.24 2008/01/18 21:43:00 das Exp $
.\" $NetBSD: exp.3,v 1.29 2012/11/06 21:43:37 dholland Exp $
.\"
-.Dd September 13, 2011
+.Dd November 11, 2015
.Dt EXP 3
.Os
.Sh NAME
.Nm exp ,
.Nm expf ,
+.Nm expl ,
.\" The sorting error is intentional. exp and expf should be adjacent.
.Nm exp2 ,
.Nm exp2f ,
-.\" .Nm exp2l ,
+.Nm exp2l ,
.Nm expm1 ,
.Nm expm1f ,
+.Nm expm1l
.Nd exponential functions
.Sh LIBRARY
.Lb libm
@@ -50,40 +52,44 @@
.Fn exp "double x"
.Ft float
.Fn expf "float x"
+.Ft long double
+.Fn expl "long double x"
.Ft double
.Fn exp2 "double x"
.Ft float
.Fn exp2f "float x"
-.\" .Ft long double
-.\" .Fn exp2l "long double x"
+.Ft long double
+.Fn exp2l "long double x"
.Ft double
.Fn expm1 "double x"
.Ft float
.Fn expm1f "float x"
+.Ft long double
+.Fn expm1l "long double x"
.Sh DESCRIPTION
The
-.Fn exp
-and
+.Fn exp ,
.Fn expf
+and
+.Fn expl
functions compute the base
.Ms e
exponential value of the given argument
.Fa x .
.Pp
The
-.Fn exp2
+.Fn exp2 ,
+.Fn exp2f ,
and
-.Fn exp2f
-.\" .Fn exp2f ,
-.\" and
-.\" .Fn exp2l
+.Fn exp2l
functions compute the base 2 exponential of the given argument
.Fa x .
.Pp
The
-.Fn expm1
+.Fn expm1 ,
+.Fn expm1f ,
and
-.Fn expm1f
+.Fn expm1l
functions compute the value exp(x)\-1 accurately even for tiny argument
.Fa x .
.Sh RETURN VALUES
@@ -105,15 +111,19 @@
.Sh STANDARDS
The
.Fn exp
-functions conform to
+function conforms to
.St -ansiC .
The
+.Fn expf ,
+.Fn expl ,
.Fn exp2 ,
.Fn exp2f ,
+.Fn exp2l ,
.Fn expf ,
.Fn expm1 ,
-and
.Fn expm1f
+and
+.Fn expm1l
functions conform to
.St -isoC-99 .
.Sh HISTORY
Index: lib/libm/man/fabs.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/fabs.3,v
retrieving revision 1.15
diff -u -r1.15 fabs.3
--- lib/libm/man/fabs.3 13 Sep 2011 07:11:43 -0000 1.15
+++ lib/libm/man/fabs.3 11 Nov 2015 08:56:06 -0000
@@ -28,13 +28,14 @@
.\" from: @(#)fabs.3 5.1 (Berkeley) 5/2/91
.\" $NetBSD: fabs.3,v 1.15 2011/09/13 07:11:43 njoly Exp $
.\"
-.Dd May 2, 1991
+.Dd November 11, 2015
.Dt FABS 3
.Os
.Sh NAME
.Nm fabs ,
-.Nm fabsf
-.Nd floating-point absolute value function
+.Nm fabsf ,
+.Nm fabsl
+.Nd floating-point absolute value functions
.Sh LIBRARY
.Lb libm
.Sh SYNOPSIS
@@ -43,17 +44,20 @@
.Fn fabs "double x"
.Ft float
.Fn fabsf "float x"
+.Ft long double
+.Fn fabs "long double x"
.Sh DESCRIPTION
The
-.Fn fabs
-and
+.Fn fabs ,
.Fn fabsf
+and
+.Fn fabsl
functions compute the absolute value of a floating-point number
.Fa x .
.Sh RETURN VALUES
The
.Fn fabs
-function returns the absolute value of
+family of functions returns the absolute value of
.Fa x .
.Sh SEE ALSO
.Xr abs 3 ,
@@ -66,3 +70,9 @@
.Fn fabs
function conforms to
.St -ansiC .
+The
+.Fn fabsf
+and
+.Fn fabsl
+functions conform to
+.St -isoC-99 .
Index: lib/libm/man/hypot.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/hypot.3,v
retrieving revision 1.17
diff -u -r1.17 hypot.3
--- lib/libm/man/hypot.3 22 Feb 2007 22:08:20 -0000 1.17
+++ lib/libm/man/hypot.3 11 Nov 2015 08:56:06 -0000
@@ -28,12 +28,13 @@
.\" from: @(#)hypot.3 6.7 (Berkeley) 5/6/91
.\" $NetBSD: hypot.3,v 1.17 2007/02/22 22:08:20 drochner Exp $
.\"
-.Dd February 12, 2007
+.Dd Novemeber, 2015
.Dt HYPOT 3
.Os
.Sh NAME
.Nm hypot ,
-.Nm hypotf
+.Nm hypotf ,
+.Nm hypotl
.Nd Euclidean distance and complex absolute value functions
.Sh LIBRARY
.Lb libm
@@ -43,6 +44,8 @@
.Fn hypot "double x" "double y"
.Ft float
.Fn hypotf "float x" "float y"
+.Ft long double
+.Fn hypotl "long double x" "long double y"
.Sh DESCRIPTION
The
.Fn hypot
Index: lib/libm/man/lgamma.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/lgamma.3,v
retrieving revision 1.22
diff -u -r1.22 lgamma.3
--- lib/libm/man/lgamma.3 5 May 2012 17:54:13 -0000 1.22
+++ lib/libm/man/lgamma.3 11 Nov 2015 08:56:06 -0000
@@ -28,12 +28,13 @@
.\" from: @(#)lgamma.3 6.6 (Berkeley) 12/3/92
.\" $NetBSD: lgamma.3,v 1.22 2012/05/05 17:54:13 christos Exp $
.\"
-.Dd May 4, 2012
+.Dd Novemeber 11, 2015
.Dt LGAMMA 3
.Os
.Sh NAME
.Nm lgamma ,
.Nm lgammaf ,
+.Nm lgammal ,
.Nm lgamma_r ,
.Nm lgammaf_r ,
.Nm gamma ,
@@ -41,7 +42,8 @@
.Nm gamma_r ,
.Nm gammaf_r ,
.Nm tgamma ,
-.Nm tgammaf
+.Nm tgammaf ,
+.Nm tgammal
.Nd log gamma function
.Sh LIBRARY
.Lb libm
@@ -54,6 +56,8 @@
.Fn lgamma "double x"
.Ft float
.Fn lgammaf "float x"
+.Ft long double
+.Fn lgammal "long double x"
.Ft double
.Fn lgamma_r "double x" "int *sign"
.Ft float
@@ -70,6 +74,8 @@
.Fn tgamma "double x"
.Ft float
.Fn tgammaf "float x"
+.Ft long double
+.Fn tgammal "long double x"
.Sh DESCRIPTION
.Fn lgamma x
.if t \{\
Index: lib/libm/man/log.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/log.3,v
retrieving revision 1.3
diff -u -r1.3 log.3
--- lib/libm/man/log.3 13 Sep 2011 08:51:32 -0000 1.3
+++ lib/libm/man/log.3 11 Nov 2015 08:56:06 -0000
@@ -24,18 +24,22 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 13, 2011
+.Dd November 9, 2015
.Dt LOG 3
.Os
.Sh NAME
.Nm log ,
.Nm logf ,
+.Nm logl ,
.Nm log10 ,
.Nm log10f ,
+.Nm log10l ,
.Nm log1p ,
-.Nm log1pf
+.Nm log1pf ,
+.Nm log1pl ,
.Nm log2 ,
.Nm log2f ,
+.Nm log2l
.Nd logarithm functions
.Sh LIBRARY
.Lb libm
@@ -45,38 +49,49 @@
.Fn log "double x"
.Ft float
.Fn logf "float x"
+.Ft long double
+.Fn logl "long double x"
.Ft double
.Fn log10 "double x"
.Ft float
.Fn log10f "float x"
+.Ft long double
+.Fn log10l "long double x"
.Ft double
.Fn log1p "double x"
.Ft float
.Fn log1pf "float x"
+.Ft long double
+.Fn log1pl "long double x"
.Ft double
.Fn log2 "double x"
.Ft float
.Fn log2f "float x"
+.Ft long double
+.Fn log2 "long double x"
.Sh DESCRIPTION
The following functions compute logarithms:
.Bl -bullet -offset 2n
.It
The
-.Fn log
-and
+.Fn log ,
.Fn logf
+and
+.Fn logl
functions return the natural logarithm.
.It
The
-.Fn log10
-and
+.Fn log10 ,
.Fn log10f
+and
+.Fn log10l
functions return the base 10 logarithm.
.It
The
-.Fn log1p
+.Fn log1p ,
+.Fn log1pf
and
-.Fn log1pf
+.Fn log1pl
functions return the natural logarithm of (1.0 +
.Fa x )
accurately even for very small values of
@@ -84,8 +99,9 @@
.It
The
.Fn log2
+.Fn log2f ,
and
-.Fn log2f
+.Fn log2l
functions return the base 2 logarithm.
.El
.Sh RETURN VALUES
Index: lib/libm/man/lrint.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/lrint.3,v
retrieving revision 1.1
diff -u -r1.1 lrint.3
--- lib/libm/man/lrint.3 16 Sep 2005 15:26:47 -0000 1.1
+++ lib/libm/man/lrint.3 11 Nov 2015 08:56:06 -0000
@@ -26,14 +26,16 @@
.\"
.\" $FreeBSD: /repoman/r/ncvs/src/lib/msun/man/lrint.3,v 1.2.2.2 2005/03/01 16:18:39 brueffer Exp $
.\"
-.Dd January 11, 2005
+.Dd November 11, 2015
.Dt LRINT 3
.Os
.Sh NAME
.Nm llrint ,
.Nm llrintf ,
+.Nm llrintl ,
.Nm lrint ,
-.Nm lrintf
+.Nm lrintf ,
+.Nm lrintl
.Nd convert to integer
.Sh LIBRARY
.Lb libm
@@ -43,10 +45,14 @@
.Fn llrint "double x"
.Ft long long
.Fn llrintf "float x"
+.Ft long long
+.Fn llrintl "long double x"
.Ft long
.Fn lrint "double x"
.Ft long
.Fn lrintf "float x"
+.Ft long
+.Fn lrintl "long double x"
.Sh DESCRIPTION
The
.Fn lrint
@@ -57,8 +63,10 @@
The
.Fn llrint ,
.Fn llrintf ,
+.Fn llrintl ,
+.Fn lrintf ,
and
-.Fn lrintf
+.Fn lrintl
functions differ from
.Fn lrint
only in their input and output types.
@@ -66,9 +74,11 @@
The
.Nm llrint ,
.Nm llrintf ,
+.Nm llrintl ,
.Nm lrint ,
+.Nm lrintf ,
and
-.Nm lrintf
+.Nm lrintl
functions return the integer nearest to their argument
.Fa x
according to the current rounding mode.
@@ -96,8 +106,10 @@
The
.Fn llrint ,
.Fn llrintf ,
+.Fn llrintl ,
.Fn lrint ,
+.Fn lrintf ,
and
-.Fn lrintf
+.Fn lrintl
functions conform to
.St -isoC-99 .
Index: lib/libm/man/modf.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/modf.3,v
retrieving revision 1.1
diff -u -r1.1 modf.3
--- lib/libm/man/modf.3 3 Jul 2006 16:03:56 -0000 1.1
+++ lib/libm/man/modf.3 11 Nov 2015 08:56:06 -0000
@@ -33,7 +33,7 @@
.\"
.\" @(#)modf.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd March 21, 2006
+.Dd November 11, 2015
.Dt MODF 3
.Os
.Sh NAME
@@ -47,6 +47,8 @@
.Fn modf "double value" "double *iptr"
.Ft float
.Fn modff "float value" "float *iptr"
+.Ft long double
+.Fn modfl "long double value" "long double *iptr"
.Sh DESCRIPTION
The
.Fn modf
Index: lib/libm/man/nextafter.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/nextafter.3,v
retrieving revision 1.5
diff -u -r1.5 nextafter.3
--- lib/libm/man/nextafter.3 13 Sep 2015 10:58:30 -0000 1.5
+++ lib/libm/man/nextafter.3 11 Nov 2015 08:56:06 -0000
@@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 13, 2015
+.Dd Novemeber 11, 2015
.Dt NEXTAFTER 3
.Os
.Sh NAME
@@ -32,12 +32,8 @@
.Nm nextafterf ,
.Nm nextafterl ,
.Nm nexttoward ,
-.Nm nexttowardf
-.\"
-.\" XXX: Not yet implemented.
-.\"
-.\" .Nm nexttowardl
-.\"
+.Nm nexttowardf ,
+.Nm nexttowardl
.Nd next representable floating-point number
.Sh LIBRARY
.Lb libm
@@ -53,6 +49,8 @@
.Fn nexttoward "double x" "long double y"
.Ft float
.Fn nexttowardf "float x" "long double y"
+.Ft long double
+.Fn nexttowardl "long double x" "long double y"
.Sh DESCRIPTION
The
.Fn nextafter ,
@@ -80,9 +78,10 @@
.Fa x .
.Pp
The
-.Fn nexttoward
-and
+.Fn nexttoward ,
.Fn nexttowardf
+and
+.Fn nexttowardl
functions are equivalent to the
.Fn nextafter
family of functions with two exceptions:
Index: lib/libm/man/pow.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/pow.3,v
retrieving revision 1.1
diff -u -r1.1 pow.3
--- lib/libm/man/pow.3 17 Sep 2011 10:51:53 -0000 1.1
+++ lib/libm/man/pow.3 11 Nov 2015 08:56:06 -0000
@@ -24,12 +24,13 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 13, 2011
+.Dd November 11, 2015
.Dt POW 3
.Os
.Sh NAME
.Nm pow ,
-.Nm powf
+.Nm powf ,
+.Nm powl
.Nd power functions
.Sh LIBRARY
.Lb libm
@@ -39,6 +40,8 @@
.Fn pow "double x" "double y"
.Ft float
.Fn powf "float x" "float y"
+.Ft long double
+.Fn powl "long double x" "long double y"
.Sh DESCRIPTION
The
.Fn pow
Index: lib/libm/man/remainder.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/remainder.3,v
retrieving revision 1.2
diff -u -r1.2 remainder.3
--- lib/libm/man/remainder.3 18 Sep 2011 05:33:14 -0000 1.2
+++ lib/libm/man/remainder.3 11 Nov 2015 08:56:06 -0000
@@ -24,14 +24,16 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 18, 2011
+.Dd Novemeber 11, 2015
.Dt REMAINDER 3
.Os
.Sh NAME
.Nm remainder ,
.Nm remainderf ,
+.Nm raminderl ,
.Nm remquo ,
-.Nm remquof
+.Nm remquof ,
+.Nm remquol
.Nd remainder functions
.Sh LIBRARY
.Lb libm
@@ -41,18 +43,23 @@
.Fn remainder "double x" "double y"
.Ft float
.Fn remainderf "float x" "float y"
+.Ft long double
+.Fn remainderl "long double x" "long double y"
.Ft double
.Fn remquo "double x" "double y" "int *quo"
.Ft float
.Fn remquof "float x" "float y" "int *quo"
+.Ft long double
+.Fn remquol "long double x" "long double y" "int *quo"
.Sh DESCRIPTION
Provided that
.Fa y
\*(Ne 0 ,
the
-.Fn remainder
-and
+.Fn remainder ,
.Fn remainderf
+and
+.Fn remainderl
functions calculate the floating-point remainder
.Fa r
of
@@ -86,9 +93,10 @@
/ 2 .
.Pp
Also the
-.Fn remquo
+.Fn remquo ,
+.Fn remquof ,
and
-.Fn remquof
+.Fn remquol
functions calculate the remainder as described above.
But these additionally use
.Fa quo
Index: lib/libm/man/rint.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/rint.3,v
retrieving revision 1.15
diff -u -r1.15 rint.3
--- lib/libm/man/rint.3 13 Sep 2015 10:46:41 -0000 1.15
+++ lib/libm/man/rint.3 11 Nov 2015 08:56:06 -0000
@@ -28,7 +28,7 @@
.\" from: @(#)rint.3 5.1 (Berkeley) 5/2/91
.\" $NetBSD: rint.3,v 1.15 2015/09/13 10:46:41 wiz Exp $
.\"
-.Dd September 13, 2015
+.Dd November 11, 2015
.Dt RINT 3
.Os
.Sh NAME
@@ -83,6 +83,9 @@
.Xr lrint 3 ,
.Xr math 3 ,
.Xr round 3
+.Sh STANDARDS
+The described functions conform to
+.St -isoC-99 .
.Sh HISTORY
A
.Fn rint
Index: lib/libm/man/sin.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/sin.3,v
retrieving revision 1.14
diff -u -r1.14 sin.3
--- lib/libm/man/sin.3 7 Aug 2003 16:44:49 -0000 1.14
+++ lib/libm/man/sin.3 11 Nov 2015 08:56:06 -0000
@@ -28,12 +28,13 @@
.\" from: @(#)sin.3 6.7 (Berkeley) 4/19/91
.\" $NetBSD: sin.3,v 1.14 2003/08/07 16:44:49 agc Exp $
.\"
-.Dd April 19, 1991
+.Dd November 11, 2015
.Dt SIN 3
.Os
.Sh NAME
.Nm sin ,
-.Nm sinf
+.Nm sinf ,
+.Nm sinl
.Nd sine function
.Sh LIBRARY
.Lb libm
@@ -43,10 +44,12 @@
.Fn sin "double x"
.Ft float
.Fn sinf "float x"
+.Ft long double
+.Fn sinl "long double x"
.Sh DESCRIPTION
The
.Fn sin
-function computes the sine of
+family of functions computes the sine of
.Fa x
(measured in radians).
A large magnitude argument may yield a result with little
@@ -54,7 +57,7 @@
.Sh RETURN VALUES
The
.Fn sin
-function returns the sine value.
+family of functions return the sine value.
.Sh SEE ALSO
.Xr acos 3 ,
.Xr asin 3 ,
@@ -71,3 +74,12 @@
.Fn sin
function conforms to
.St -ansiC .
+The
+.Fn sinf
+and
+.Fn sinl
+functions conform to
+.St -isoC-99 .
+
+
+
Index: lib/libm/man/sinh.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/sinh.3,v
retrieving revision 1.14
diff -u -r1.14 sinh.3
--- lib/libm/man/sinh.3 7 Aug 2003 16:44:49 -0000 1.14
+++ lib/libm/man/sinh.3 11 Nov 2015 08:56:06 -0000
@@ -27,12 +27,13 @@
.\"
.\" from: @(#)sinh.3 6.6 (Berkeley) 4/19/91
.\" $NetBSD: sinh.3,v 1.14 2003/08/07 16:44:49 agc Exp $
-.Dd April 19, 1991
+.Dd November 11, 2015
.Dt SINH 3
.Os
.Sh NAME
.Nm sinh ,
-.Nm sinhf
+.Nm sinhf ,
+.Nm sinhl
.Nd hyperbolic sine function
.Sh LIBRARY
.Lb libm
@@ -42,6 +43,8 @@
.Fn sinh "double x"
.Ft float
.Fn sinhf "float x"
+.Ft long double
+.Fn sinhl "long double x"
.Sh DESCRIPTION
The
.Fn sinh
@@ -50,7 +53,7 @@
.Sh RETURN VALUES
The
.Fn sinh
-function returns the hyperbolic sine value unless
+family of functions return the hyperbolic sine value unless
the magnitude of
.Fa x
is too large; in this event, the global variable
@@ -73,3 +76,9 @@
.Fn sinh
function conforms to
.St -ansiC .
+The
+.Fn sinhf
+and
+.Fn sinhl
+functions conform to
+.St -isoC-99 .
Index: lib/libm/man/tan.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/tan.3,v
retrieving revision 1.13
diff -u -r1.13 tan.3
--- lib/libm/man/tan.3 7 Aug 2003 16:44:49 -0000 1.13
+++ lib/libm/man/tan.3 11 Nov 2015 08:56:06 -0000
@@ -28,7 +28,7 @@
.\" from: @(#)tan.3 5.1 (Berkeley) 5/2/91
.\" $NetBSD: tan.3,v 1.13 2003/08/07 16:44:49 agc Exp $
.\"
-.Dd May 2, 1991
+.Dd November 11, 2015
.Dt TAN 3
.Os
.Sh NAME
@@ -43,11 +43,14 @@
.Fn tan "double x"
.Ft float
.Fn tanf "float x"
+.Ft long double
+.Fn tanl "long double x"
.Sh DESCRIPTION
The
.Fn tan
-and
.Fn tanf
+and
+.Fn tanl
functions compute the tangent of
.Fa x
(measured in radians).
@@ -58,7 +61,7 @@
.Sh RETURN VALUES
The
.Fn tan
-function returns the tangent value.
+family of functions return the tangent value.
.Sh SEE ALSO
.Xr acos 3 ,
.Xr asin 3 ,
@@ -75,3 +78,9 @@
.Fn tan
function conforms to
.St -ansiC .
+The
+.Fn tanf
+and
+.Fn tanl
+functions conform to
+.St -isoC-99 .
Index: lib/libm/man/tanh.3
===================================================================
RCS file: /cvsroot/src/lib/libm/man/tanh.3,v
retrieving revision 1.15
diff -u -r1.15 tanh.3
--- lib/libm/man/tanh.3 17 Nov 2011 23:46:32 -0000 1.15
+++ lib/libm/man/tanh.3 11 Nov 2015 08:56:06 -0000
@@ -28,12 +28,13 @@
.\" from: @(#)tanh.3 5.1 (Berkeley) 5/2/91
.\" $NetBSD: tanh.3,v 1.15 2011/11/17 23:46:32 wiz Exp $
.\"
-.Dd September 18, 2011
+.Dd November 10, 2015
.Dt TANH 3
.Os
.Sh NAME
.Nm tanh ,
-.Nm tanhf
+.Nm tanhf ,
+.Nm tanhl
.Nd hyperbolic tangent function
.Sh LIBRARY
.Lb libm
@@ -43,11 +44,14 @@
.Fn tanh "double x"
.Ft float
.Fn tanhf "float x"
+.Ft long double
+.Fn tanh "long double x"
.Sh DESCRIPTION
The
-.Fn tanh
-and
+.Fn tanh ,
.Fn tanhf
+and
+.Fn tanhl
functions compute the hyperbolic tangent of
.Fa x .
For a discussion of error due to roundoff, see
Home |
Main Index |
Thread Index |
Old Index