1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2014-06-08 01:29+0900\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
20 #: build/C/man3/INFINITY.3:25
26 #: build/C/man3/INFINITY.3:25
32 #: build/C/man3/INFINITY.3:25 build/C/man3/abs.3:34 build/C/man3/acos.3:35 build/C/man3/acosh.3:35 build/C/man3/asin.3:35 build/C/man3/asinh.3:35 build/C/man3/atan.3:35 build/C/man3/atan2.3:35 build/C/man3/atanh.3:35 build/C/man3/cbrt.3:30 build/C/man3/ceil.3:27 build/C/man3/copysign.3:31 build/C/man3/cos.3:34 build/C/man3/cosh.3:36 build/C/man3/div.3:34 build/C/man3/erf.3:35 build/C/man3/erfc.3:26 build/C/man3/exp.3:36 build/C/man3/exp10.3:35 build/C/man3/exp2.3:36 build/C/man3/expm1.3:30 build/C/man3/fabs.3:32 build/C/man3/fdim.3:9 build/C/man3/fenv.3:27 build/C/man3/finite.3:25 build/C/man3/floor.3:27 build/C/man3/fma.3:12 build/C/man3/fmax.3:9 build/C/man3/fmin.3:9 build/C/man3/fmod.3:35 build/C/man3/fpclassify.3:10 build/C/man3/frexp.3:33 build/C/man3/gamma.3:9 build/C/man3/hypot.3:33 build/C/man3/ilogb.3:29 build/C/man3/infnan.3:33 build/C/man3/isgreater.3:10 build/C/man3/j0.3:36 build/C/man3/ldexp.3:34 build/C/man3/lgamma.3:11 build/C/man3/log.3:36 build/C/man3/log10.3:36 build/C/man3/log1p.3:29 build/C/man3/log2.3:36 build/C/man3/logb.3:29 build/C/man3/lrint.3:27 build/C/man3/lround.3:27 build/C/man7/math_error.7:26 build/C/man3/matherr.3:27 build/C/man3/modf.3:33 build/C/man3/nan.3:11 build/C/man3/nextafter.3:11 build/C/man3/pow.3:35 build/C/man3/pow10.3:25 build/C/man3/remainder.3:37 build/C/man3/remquo.3:12 build/C/man3/rint.3:27 build/C/man3/round.3:27 build/C/man3/scalb.3:27 build/C/man3/scalbln.3:27 build/C/man3/signbit.3:11 build/C/man3/significand.3:9 build/C/man3/sin.3:35 build/C/man3/sincos.3:9 build/C/man3/sinh.3:36 build/C/man3/sqrt.3:34 build/C/man3/tan.3:35 build/C/man3/tanh.3:35 build/C/man3/tgamma.3:13 build/C/man3/trunc.3:25 build/C/man3/y0.3:36
34 msgid "Linux Programmer's Manual"
38 #: build/C/man3/INFINITY.3:26 build/C/man3/abs.3:35 build/C/man3/acos.3:36 build/C/man3/acosh.3:36 build/C/man3/asin.3:36 build/C/man3/asinh.3:36 build/C/man3/atan.3:36 build/C/man3/atan2.3:36 build/C/man3/atanh.3:36 build/C/man3/cbrt.3:31 build/C/man3/ceil.3:28 build/C/man3/copysign.3:32 build/C/man3/cos.3:35 build/C/man3/cosh.3:37 build/C/man3/div.3:35 build/C/man3/erf.3:36 build/C/man3/erfc.3:27 build/C/man3/exp.3:37 build/C/man3/exp10.3:36 build/C/man3/exp2.3:37 build/C/man3/expm1.3:31 build/C/man3/fabs.3:33 build/C/man3/fdim.3:10 build/C/man3/fenv.3:28 build/C/man3/finite.3:26 build/C/man3/floor.3:28 build/C/man3/fma.3:13 build/C/man3/fmax.3:10 build/C/man3/fmin.3:10 build/C/man3/fmod.3:36 build/C/man3/fpclassify.3:11 build/C/man3/frexp.3:34 build/C/man3/gamma.3:10 build/C/man3/hypot.3:34 build/C/man3/ilogb.3:30 build/C/man3/infnan.3:34 build/C/man3/isgreater.3:11 build/C/man3/j0.3:37 build/C/man3/ldexp.3:35 build/C/man3/lgamma.3:12 build/C/man3/log.3:37 build/C/man3/log10.3:37 build/C/man3/log1p.3:30 build/C/man3/log2.3:37 build/C/man3/logb.3:30 build/C/man3/lrint.3:28 build/C/man3/lround.3:28 build/C/man7/math_error.7:27 build/C/man3/matherr.3:28 build/C/man3/modf.3:34 build/C/man3/nan.3:12 build/C/man3/nextafter.3:12 build/C/man3/pow.3:36 build/C/man3/pow10.3:26 build/C/man3/remainder.3:38 build/C/man3/remquo.3:13 build/C/man3/rint.3:28 build/C/man3/round.3:28 build/C/man3/scalb.3:28 build/C/man3/scalbln.3:28 build/C/man3/signbit.3:12 build/C/man3/significand.3:10 build/C/man3/sin.3:36 build/C/man3/sincos.3:10 build/C/man3/sinh.3:37 build/C/man3/sqrt.3:35 build/C/man3/tan.3:36 build/C/man3/tanh.3:36 build/C/man3/tgamma.3:14 build/C/man3/trunc.3:26 build/C/man3/y0.3:37
44 #: build/C/man3/INFINITY.3:28
45 msgid "INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL - floating-point constants"
49 #: build/C/man3/INFINITY.3:28 build/C/man3/abs.3:37 build/C/man3/acos.3:38 build/C/man3/acosh.3:38 build/C/man3/asin.3:38 build/C/man3/asinh.3:38 build/C/man3/atan.3:38 build/C/man3/atan2.3:38 build/C/man3/atanh.3:38 build/C/man3/cbrt.3:33 build/C/man3/ceil.3:31 build/C/man3/copysign.3:34 build/C/man3/cos.3:37 build/C/man3/cosh.3:39 build/C/man3/div.3:38 build/C/man3/erf.3:38 build/C/man3/erfc.3:29 build/C/man3/exp.3:39 build/C/man3/exp10.3:38 build/C/man3/exp2.3:39 build/C/man3/expm1.3:33 build/C/man3/fabs.3:35 build/C/man3/fdim.3:12 build/C/man3/fenv.3:33 build/C/man3/finite.3:29 build/C/man3/floor.3:30 build/C/man3/fma.3:15 build/C/man3/fmax.3:12 build/C/man3/fmin.3:12 build/C/man3/fmod.3:38 build/C/man3/fpclassify.3:14 build/C/man3/frexp.3:37 build/C/man3/gamma.3:12 build/C/man3/hypot.3:36 build/C/man3/ilogb.3:32 build/C/man3/infnan.3:36 build/C/man3/isgreater.3:14 build/C/man3/j0.3:40 build/C/man3/ldexp.3:37 build/C/man3/lgamma.3:15 build/C/man3/log.3:39 build/C/man3/log10.3:39 build/C/man3/log1p.3:32 build/C/man3/log2.3:39 build/C/man3/logb.3:32 build/C/man3/lrint.3:30 build/C/man3/lround.3:31 build/C/man7/math_error.7:29 build/C/man3/matherr.3:30 build/C/man3/modf.3:37 build/C/man3/nan.3:14 build/C/man3/nextafter.3:15 build/C/man3/pow.3:38 build/C/man3/pow10.3:28 build/C/man3/remainder.3:41 build/C/man3/remquo.3:15 build/C/man3/rint.3:31 build/C/man3/round.3:30 build/C/man3/scalb.3:31 build/C/man3/scalbln.3:31 build/C/man3/signbit.3:14 build/C/man3/significand.3:13 build/C/man3/sin.3:38 build/C/man3/sincos.3:12 build/C/man3/sinh.3:39 build/C/man3/sqrt.3:37 build/C/man3/tan.3:38 build/C/man3/tanh.3:38 build/C/man3/tgamma.3:16 build/C/man3/trunc.3:28 build/C/man3/y0.3:40
55 #: build/C/man3/INFINITY.3:31
57 msgid "B<#define _ISOC99_SOURCE> /* See feature_test_macros(7) */\n"
61 #: build/C/man3/INFINITY.3:33 build/C/man3/acos.3:41 build/C/man3/acosh.3:41 build/C/man3/asin.3:41 build/C/man3/asinh.3:41 build/C/man3/atan.3:41 build/C/man3/atan2.3:41 build/C/man3/atanh.3:41 build/C/man3/cbrt.3:36 build/C/man3/ceil.3:34 build/C/man3/copysign.3:37 build/C/man3/cos.3:40 build/C/man3/cosh.3:42 build/C/man3/erf.3:41 build/C/man3/erfc.3:32 build/C/man3/exp.3:42 build/C/man3/exp10.3:43 build/C/man3/exp2.3:42 build/C/man3/expm1.3:36 build/C/man3/fabs.3:38 build/C/man3/finite.3:32 build/C/man3/floor.3:33 build/C/man3/fma.3:18 build/C/man3/fmod.3:41 build/C/man3/fpclassify.3:17 build/C/man3/frexp.3:40 build/C/man3/hypot.3:39 build/C/man3/infnan.3:39 build/C/man3/isgreater.3:17 build/C/man3/j0.3:43 build/C/man3/ldexp.3:40 build/C/man3/lgamma.3:18 build/C/man3/log.3:42 build/C/man3/log10.3:42 build/C/man3/log1p.3:35 build/C/man3/log2.3:42 build/C/man3/lrint.3:33 build/C/man3/lround.3:34 build/C/man3/modf.3:40 build/C/man3/pow.3:41 build/C/man3/remainder.3:44 build/C/man3/remquo.3:18 build/C/man3/rint.3:34 build/C/man3/round.3:33 build/C/man3/sin.3:41 build/C/man3/sinh.3:42 build/C/man3/sqrt.3:40 build/C/man3/tan.3:41 build/C/man3/tanh.3:41 build/C/man3/trunc.3:31 build/C/man3/y0.3:43
63 msgid "B<#include E<lt>math.hE<gt>>\n"
67 #: build/C/man3/INFINITY.3:35
73 #: build/C/man3/INFINITY.3:37
79 #: build/C/man3/INFINITY.3:39
85 #: build/C/man3/INFINITY.3:41
87 msgid "B<HUGE_VALF>\n"
91 #: build/C/man3/INFINITY.3:43
93 msgid "B<HUGE_VALL>\n"
97 #: build/C/man3/INFINITY.3:44 build/C/man3/abs.3:67 build/C/man3/acos.3:65 build/C/man3/acosh.3:77 build/C/man3/asin.3:67 build/C/man3/asinh.3:77 build/C/man3/atan.3:67 build/C/man3/atan2.3:65 build/C/man3/atanh.3:77 build/C/man3/cbrt.3:72 build/C/man3/ceil.3:60 build/C/man3/copysign.3:64 build/C/man3/cos.3:66 build/C/man3/cosh.3:68 build/C/man3/div.3:68 build/C/man3/erf.3:74 build/C/man3/erfc.3:65 build/C/man3/exp.3:68 build/C/man3/exp10.3:52 build/C/man3/exp2.3:68 build/C/man3/expm1.3:72 build/C/man3/fabs.3:64 build/C/man3/fdim.3:39 build/C/man3/fenv.3:61 build/C/man3/finite.3:90 build/C/man3/floor.3:59 build/C/man3/fma.3:45 build/C/man3/fmax.3:40 build/C/man3/fmin.3:40 build/C/man3/fmod.3:67 build/C/man3/fpclassify.3:66 build/C/man3/frexp.3:66 build/C/man3/gamma.3:40 build/C/man3/hypot.3:74 build/C/man3/ilogb.3:70 build/C/man3/infnan.3:44 build/C/man3/isgreater.3:48 build/C/man3/j0.3:89 build/C/man3/ldexp.3:66 build/C/man3/lgamma.3:71 build/C/man3/log.3:68 build/C/man3/log10.3:68 build/C/man3/log1p.3:71 build/C/man3/log2.3:68 build/C/man3/logb.3:69 build/C/man3/lrint.3:64 build/C/man3/lround.3:65 build/C/man7/math_error.7:35 build/C/man3/matherr.3:41 build/C/man3/modf.3:66 build/C/man3/nan.3:42 build/C/man3/nextafter.3:70 build/C/man3/pow.3:67 build/C/man3/pow10.3:41 build/C/man3/remainder.3:92 build/C/man3/remquo.3:45 build/C/man3/rint.3:86 build/C/man3/round.3:60 build/C/man3/scalb.3:60 build/C/man3/scalbln.3:76 build/C/man3/signbit.3:36 build/C/man3/significand.3:37 build/C/man3/sin.3:67 build/C/man3/sincos.3:25 build/C/man3/sinh.3:68 build/C/man3/sqrt.3:66 build/C/man3/tan.3:67 build/C/man3/tanh.3:67 build/C/man3/tgamma.3:44 build/C/man3/trunc.3:58 build/C/man3/y0.3:89
103 #: build/C/man3/INFINITY.3:50
105 "The macro B<INFINITY> expands to a I<float> constant representing positive "
110 #: build/C/man3/INFINITY.3:65
112 "The macro B<NAN> expands to a I<float> constant representing a quiet NaN "
113 "(when supported). A I<quiet> NaN is a NaN (\"not-a-number\") that does not "
114 "raise exceptions when it is used in arithmetic. The opposite is a "
115 "I<signaling> NaN. See IEC 60559:1989."
119 #: build/C/man3/INFINITY.3:77
121 "The macros B<HUGE_VAL>, B<HUGE_VALF>, B<HUGE_VALL> expand to constants of "
122 "types I<double>, I<float> and I<long double>, respectively, that represent a "
123 "large positive value, possibly positive infinity."
127 #: build/C/man3/INFINITY.3:77 build/C/man3/abs.3:91 build/C/man3/acos.3:113 build/C/man3/acosh.3:120 build/C/man3/asin.3:111 build/C/man3/asinh.3:113 build/C/man3/atan.3:104 build/C/man3/atan2.3:166 build/C/man3/atanh.3:139 build/C/man3/cbrt.3:98 build/C/man3/ceil.3:89 build/C/man3/copysign.3:103 build/C/man3/cos.3:112 build/C/man3/cosh.3:119 build/C/man3/div.3:100 build/C/man3/erf.3:134 build/C/man3/erfc.3:130 build/C/man3/exp.3:128 build/C/man3/exp10.3:77 build/C/man3/exp2.3:91 build/C/man3/expm1.3:144 build/C/man3/fabs.3:93 build/C/man3/fdim.3:89 build/C/man3/fenv.3:284 build/C/man3/floor.3:88 build/C/man3/fma.3:164 build/C/man3/fmax.3:66 build/C/man3/fmin.3:66 build/C/man3/fmod.3:146 build/C/man3/fpclassify.3:128 build/C/man3/frexp.3:116 build/C/man3/gamma.3:65 build/C/man3/hypot.3:158 build/C/man3/ilogb.3:154 build/C/man3/infnan.3:87 build/C/man3/isgreater.3:136 build/C/man3/j0.3:157 build/C/man3/ldexp.3:137 build/C/man3/lgamma.3:158 build/C/man3/log.3:128 build/C/man3/log10.3:89 build/C/man3/log1p.3:150 build/C/man3/log2.3:91 build/C/man3/logb.3:151 build/C/man3/lrint.3:121 build/C/man3/lround.3:124 build/C/man3/modf.3:103 build/C/man3/nan.3:75 build/C/man3/nextafter.3:190 build/C/man3/pow.3:316 build/C/man3/pow10.3:49 build/C/man3/remainder.3:180 build/C/man3/remquo.3:132 build/C/man3/rint.3:133 build/C/man3/round.3:96 build/C/man3/scalb.3:177 build/C/man3/scalbln.3:171 build/C/man3/signbit.3:66 build/C/man3/significand.3:51 build/C/man3/sin.3:116 build/C/man3/sincos.3:84 build/C/man3/sinh.3:124 build/C/man3/sqrt.3:107 build/C/man3/tan.3:141 build/C/man3/tanh.3:108 build/C/man3/tgamma.3:162 build/C/man3/trunc.3:83 build/C/man3/y0.3:230
129 msgid "CONFORMING TO"
133 #: build/C/man3/INFINITY.3:79
138 #: build/C/man3/INFINITY.3:79
144 #: build/C/man3/INFINITY.3:101
146 "On a glibc system, the macro B<HUGE_VAL> is always available. Availability "
147 "of the B<NAN> macro can be tested using B<#ifdef NAN>, and similarly for "
148 "B<INFINITY>, B<HUGE_VALF>, B<HUGE_VALL>. They will be defined by "
149 "I<E<lt>math.hE<gt>> if B<_ISOC99_SOURCE> or B<_GNU_SOURCE> is defined, or "
150 "B<__STDC_VERSION__> is defined and has a value not less than 199901L."
154 #: build/C/man3/INFINITY.3:101 build/C/man3/abs.3:135 build/C/man3/acos.3:119 build/C/man3/acosh.3:126 build/C/man3/asin.3:117 build/C/man3/asinh.3:119 build/C/man3/atan.3:110 build/C/man3/atan2.3:172 build/C/man3/atanh.3:156 build/C/man3/cbrt.3:102 build/C/man3/ceil.3:120 build/C/man3/copysign.3:112 build/C/man3/cos.3:125 build/C/man3/cosh.3:130 build/C/man3/div.3:115 build/C/man3/erf.3:140 build/C/man3/erfc.3:146 build/C/man3/exp.3:134 build/C/man3/exp10.3:79 build/C/man3/exp2.3:97 build/C/man3/expm1.3:178 build/C/man3/fabs.3:99 build/C/man3/fdim.3:91 build/C/man3/fenv.3:342 build/C/man3/finite.3:155 build/C/man3/floor.3:110 build/C/man3/fma.3:166 build/C/man3/fmax.3:68 build/C/man3/fmin.3:68 build/C/man3/fmod.3:160 build/C/man3/fpclassify.3:142 build/C/man3/frexp.3:155 build/C/man3/gamma.3:97 build/C/man3/hypot.3:164 build/C/man3/ilogb.3:156 build/C/man3/isgreater.3:143 build/C/man3/j0.3:172 build/C/man3/ldexp.3:143 build/C/man3/lgamma.3:177 build/C/man3/log.3:141 build/C/man3/log10.3:95 build/C/man3/log1p.3:153 build/C/man3/log2.3:97 build/C/man3/logb.3:153 build/C/man3/lrint.3:123 build/C/man3/lround.3:126 build/C/man7/math_error.7:256 build/C/man3/matherr.3:425 build/C/man3/modf.3:109 build/C/man3/nan.3:79 build/C/man3/nextafter.3:199 build/C/man3/pow.3:365 build/C/man3/pow10.3:54 build/C/man3/remainder.3:215 build/C/man3/remquo.3:134 build/C/man3/rint.3:155 build/C/man3/round.3:119 build/C/man3/scalb.3:200 build/C/man3/scalbln.3:189 build/C/man3/signbit.3:70 build/C/man3/significand.3:57 build/C/man3/sin.3:129 build/C/man3/sincos.3:86 build/C/man3/sinh.3:130 build/C/man3/sqrt.3:113 build/C/man3/tan.3:154 build/C/man3/tanh.3:114 build/C/man3/tgamma.3:188 build/C/man3/trunc.3:94 build/C/man3/y0.3:253
160 #: build/C/man3/INFINITY.3:104
161 msgid "B<fpclassify>(3), B<math_error>(7)"
165 #: build/C/man3/INFINITY.3:104 build/C/man3/abs.3:141 build/C/man3/acos.3:127 build/C/man3/acosh.3:133 build/C/man3/asin.3:125 build/C/man3/asinh.3:126 build/C/man3/atan.3:119 build/C/man3/atan2.3:180 build/C/man3/atanh.3:163 build/C/man3/cbrt.3:105 build/C/man3/ceil.3:127 build/C/man3/copysign.3:114 build/C/man3/cos.3:134 build/C/man3/cosh.3:137 build/C/man3/div.3:118 build/C/man3/erf.3:144 build/C/man3/erfc.3:150 build/C/man3/exp.3:140 build/C/man3/exp10.3:85 build/C/man3/exp2.3:103 build/C/man3/expm1.3:182 build/C/man3/fabs.3:106 build/C/man3/fdim.3:93 build/C/man3/fenv.3:344 build/C/man3/finite.3:157 build/C/man3/floor.3:117 build/C/man3/fma.3:169 build/C/man3/fmax.3:70 build/C/man3/fmin.3:70 build/C/man3/fmod.3:162 build/C/man3/fpclassify.3:147 build/C/man3/frexp.3:158 build/C/man3/gamma.3:101 build/C/man3/hypot.3:167 build/C/man3/ilogb.3:160 build/C/man3/infnan.3:92 build/C/man3/isgreater.3:146 build/C/man3/j0.3:174 build/C/man3/ldexp.3:147 build/C/man3/lgamma.3:179 build/C/man3/log.3:148 build/C/man3/log10.3:102 build/C/man3/log1p.3:157 build/C/man3/log2.3:103 build/C/man3/logb.3:156 build/C/man3/lrint.3:130 build/C/man3/lround.3:133 build/C/man7/math_error.7:267 build/C/man3/matherr.3:429 build/C/man3/modf.3:112 build/C/man3/nan.3:83 build/C/man3/nextafter.3:201 build/C/man3/pow.3:369 build/C/man3/pow10.3:57 build/C/man3/remainder.3:219 build/C/man3/remquo.3:138 build/C/man3/rint.3:161 build/C/man3/round.3:126 build/C/man3/scalb.3:203 build/C/man3/scalbln.3:192 build/C/man3/signbit.3:72 build/C/man3/significand.3:60 build/C/man3/sin.3:138 build/C/man3/sincos.3:90 build/C/man3/sinh.3:137 build/C/man3/sqrt.3:117 build/C/man3/tan.3:162 build/C/man3/tanh.3:121 build/C/man3/tgamma.3:191 build/C/man3/trunc.3:101 build/C/man3/y0.3:255
171 #: build/C/man3/INFINITY.3:112 build/C/man3/abs.3:149 build/C/man3/acos.3:135 build/C/man3/acosh.3:141 build/C/man3/asin.3:133 build/C/man3/asinh.3:134 build/C/man3/atan.3:127 build/C/man3/atan2.3:188 build/C/man3/atanh.3:171 build/C/man3/cbrt.3:113 build/C/man3/ceil.3:135 build/C/man3/copysign.3:122 build/C/man3/cos.3:142 build/C/man3/cosh.3:145 build/C/man3/div.3:126 build/C/man3/erf.3:152 build/C/man3/erfc.3:158 build/C/man3/exp.3:148 build/C/man3/exp10.3:93 build/C/man3/exp2.3:111 build/C/man3/expm1.3:190 build/C/man3/fabs.3:114 build/C/man3/fdim.3:101 build/C/man3/fenv.3:352 build/C/man3/finite.3:165 build/C/man3/floor.3:125 build/C/man3/fma.3:177 build/C/man3/fmax.3:78 build/C/man3/fmin.3:78 build/C/man3/fmod.3:170 build/C/man3/fpclassify.3:155 build/C/man3/frexp.3:166 build/C/man3/gamma.3:109 build/C/man3/hypot.3:175 build/C/man3/ilogb.3:168 build/C/man3/infnan.3:100 build/C/man3/isgreater.3:154 build/C/man3/j0.3:182 build/C/man3/ldexp.3:155 build/C/man3/lgamma.3:187 build/C/man3/log.3:156 build/C/man3/log10.3:110 build/C/man3/log1p.3:165 build/C/man3/log2.3:111 build/C/man3/logb.3:164 build/C/man3/lrint.3:138 build/C/man3/lround.3:141 build/C/man7/math_error.7:275 build/C/man3/matherr.3:437 build/C/man3/modf.3:120 build/C/man3/nan.3:91 build/C/man3/nextafter.3:209 build/C/man3/pow.3:377 build/C/man3/pow10.3:65 build/C/man3/remainder.3:227 build/C/man3/remquo.3:146 build/C/man3/rint.3:169 build/C/man3/round.3:134 build/C/man3/scalb.3:211 build/C/man3/scalbln.3:200 build/C/man3/signbit.3:80 build/C/man3/significand.3:68 build/C/man3/sin.3:146 build/C/man3/sincos.3:98 build/C/man3/sinh.3:145 build/C/man3/sqrt.3:125 build/C/man3/tan.3:170 build/C/man3/tanh.3:129 build/C/man3/tgamma.3:199 build/C/man3/trunc.3:109 build/C/man3/y0.3:263
173 "This page is part of release 3.68 of the Linux I<man-pages> project. A "
174 "description of the project, information about reporting bugs, and the latest "
175 "version of this page, can be found at "
176 "\\%http://www.kernel.org/doc/man-pages/."
180 #: build/C/man3/abs.3:34
186 #: build/C/man3/abs.3:34 build/C/man3/ceil.3:27 build/C/man3/modf.3:33 build/C/man3/round.3:27 build/C/man3/scalbln.3:27 build/C/man3/trunc.3:25
192 #: build/C/man3/abs.3:34 build/C/man3/asinh.3:35 build/C/man3/cbrt.3:30 build/C/man3/copysign.3:31 build/C/man3/erf.3:35 build/C/man3/erfc.3:26 build/C/man3/exp10.3:35 build/C/man3/gamma.3:9 build/C/man3/infnan.3:33 build/C/man3/nan.3:11 build/C/man3/nextafter.3:11 build/C/man3/remquo.3:12 build/C/man3/signbit.3:11 build/C/man3/significand.3:9 build/C/man3/sincos.3:9 build/C/man3/tgamma.3:13
198 #: build/C/man3/abs.3:37
199 msgid "abs, labs, llabs, imaxabs - compute the absolute value of an integer"
203 #: build/C/man3/abs.3:40 build/C/man3/div.3:41
205 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
209 #: build/C/man3/abs.3:42
211 msgid "B<int abs(int >I<j>B<);>\n"
215 #: build/C/man3/abs.3:44
217 msgid "B<long int labs(long int >I<j>B<);>\n"
221 #: build/C/man3/abs.3:46
223 msgid "B<long long int llabs(long long int >I<j>B<);>\n"
227 #: build/C/man3/abs.3:48 build/C/man3/div.3:49
229 msgid "B<#include E<lt>inttypes.hE<gt>>\n"
233 #: build/C/man3/abs.3:50
235 msgid "B<intmax_t imaxabs(intmax_t >I<j>B<);>\n"
239 #: build/C/man3/abs.3:55 build/C/man3/acos.3:52 build/C/man3/acosh.3:54 build/C/man3/asin.3:54 build/C/man3/asinh.3:54 build/C/man3/atan.3:54 build/C/man3/atan2.3:52 build/C/man3/atanh.3:54 build/C/man3/cbrt.3:49 build/C/man3/ceil.3:47 build/C/man3/copysign.3:50 build/C/man3/cos.3:53 build/C/man3/cosh.3:55 build/C/man3/div.3:56 build/C/man3/erf.3:52 build/C/man3/erfc.3:43 build/C/man3/exp.3:55 build/C/man3/exp2.3:55 build/C/man3/expm1.3:49 build/C/man3/fabs.3:51 build/C/man3/fdim.3:26 build/C/man3/finite.3:55 build/C/man3/floor.3:46 build/C/man3/fma.3:31 build/C/man3/fmax.3:26 build/C/man3/fmin.3:26 build/C/man3/fmod.3:54 build/C/man3/fpclassify.3:34 build/C/man3/frexp.3:53 build/C/man3/gamma.3:26 build/C/man3/hypot.3:52 build/C/man3/ilogb.3:46 build/C/man3/isgreater.3:36 build/C/man3/j0.3:68 build/C/man3/ldexp.3:53 build/C/man3/lgamma.3:39 build/C/man3/log.3:55 build/C/man3/log10.3:55 build/C/man3/log1p.3:48 build/C/man3/log2.3:55 build/C/man3/logb.3:46 build/C/man3/lrint.3:52 build/C/man3/lround.3:53 build/C/man3/modf.3:53 build/C/man3/nan.3:28 build/C/man3/nextafter.3:35 build/C/man3/pow.3:54 build/C/man3/remainder.3:61 build/C/man3/remquo.3:31 build/C/man3/rint.3:53 build/C/man3/round.3:46 build/C/man3/scalb.3:45 build/C/man3/scalbln.3:51 build/C/man3/signbit.3:24 build/C/man3/significand.3:27 build/C/man3/sin.3:54 build/C/man3/sinh.3:55 build/C/man3/sqrt.3:53 build/C/man3/tan.3:54 build/C/man3/tanh.3:54 build/C/man3/tgamma.3:30 build/C/man3/trunc.3:44 build/C/man3/y0.3:68
240 msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
244 #: build/C/man3/abs.3:59
249 #: build/C/man3/abs.3:62 build/C/man3/div.3:63 build/C/man3/exp2.3:63 build/C/man3/fdim.3:34 build/C/man3/fma.3:40 build/C/man3/fmax.3:35 build/C/man3/fmin.3:35 build/C/man3/fpclassify.3:45 build/C/man3/isgreater.3:43 build/C/man3/log2.3:63 build/C/man3/lrint.3:59 build/C/man3/lround.3:60 build/C/man3/nan.3:37 build/C/man3/nextafter.3:65 build/C/man3/remquo.3:40 build/C/man3/round.3:55 build/C/man3/scalbln.3:60 build/C/man3/signbit.3:31 build/C/man3/tgamma.3:39 build/C/man3/trunc.3:53
251 "_XOPEN_SOURCE\\ E<gt>=\\ 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ "
256 #: build/C/man3/abs.3:65 build/C/man3/acos.3:63 build/C/man3/acosh.3:65 build/C/man3/acosh.3:75 build/C/man3/asin.3:65 build/C/man3/asinh.3:65 build/C/man3/asinh.3:75 build/C/man3/atan.3:65 build/C/man3/atan2.3:63 build/C/man3/atanh.3:65 build/C/man3/atanh.3:75 build/C/man3/cbrt.3:61 build/C/man3/cbrt.3:70 build/C/man3/ceil.3:58 build/C/man3/copysign.3:62 build/C/man3/cos.3:64 build/C/man3/cosh.3:66 build/C/man3/div.3:66 build/C/man3/erf.3:62 build/C/man3/erf.3:72 build/C/man3/erfc.3:53 build/C/man3/erfc.3:63 build/C/man3/exp.3:66 build/C/man3/exp2.3:66 build/C/man3/expm1.3:60 build/C/man3/expm1.3:70 build/C/man3/fabs.3:62 build/C/man3/fdim.3:37 build/C/man3/finite.3:70 build/C/man3/finite.3:83 build/C/man3/floor.3:57 build/C/man3/fma.3:43 build/C/man3/fmax.3:38 build/C/man3/fmin.3:38 build/C/man3/fmod.3:65 build/C/man3/fpclassify.3:48 build/C/man3/fpclassify.3:56 build/C/man3/fpclassify.3:64 build/C/man3/frexp.3:64 build/C/man3/hypot.3:62 build/C/man3/hypot.3:72 build/C/man3/ilogb.3:58 build/C/man3/ilogb.3:68 build/C/man3/isgreater.3:46 build/C/man3/ldexp.3:64 build/C/man3/lgamma.3:49 build/C/man3/lgamma.3:59 build/C/man3/log.3:66 build/C/man3/log10.3:66 build/C/man3/log1p.3:59 build/C/man3/log1p.3:69 build/C/man3/log2.3:66 build/C/man3/logb.3:57 build/C/man3/logb.3:67 build/C/man3/lrint.3:62 build/C/man3/lround.3:63 build/C/man3/modf.3:64 build/C/man3/nan.3:40 build/C/man3/nextafter.3:47 build/C/man3/nextafter.3:57 build/C/man3/nextafter.3:68 build/C/man3/pow.3:65 build/C/man3/remainder.3:73 build/C/man3/remainder.3:83 build/C/man3/remquo.3:43 build/C/man3/rint.3:64 build/C/man3/rint.3:74 build/C/man3/rint.3:84 build/C/man3/round.3:58 build/C/man3/scalbln.3:63 build/C/man3/scalbln.3:74 build/C/man3/signbit.3:34 build/C/man3/sin.3:65 build/C/man3/sinh.3:66 build/C/man3/sqrt.3:64 build/C/man3/tan.3:65 build/C/man3/tanh.3:65 build/C/man3/tgamma.3:42 build/C/man3/trunc.3:56
257 msgid "or I<cc\\ -std=c99>"
261 #: build/C/man3/abs.3:79
263 "The B<abs>() function computes the absolute value of the integer argument "
264 "I<j>. The B<labs>(), B<llabs>() and B<imaxabs>() functions compute the "
265 "absolute value of the argument I<j> of the appropriate integer type for the "
270 #: build/C/man3/abs.3:79 build/C/man3/acos.3:73 build/C/man3/acosh.3:84 build/C/man3/asin.3:74 build/C/man3/asinh.3:84 build/C/man3/atan.3:74 build/C/man3/atan2.3:72 build/C/man3/atanh.3:84 build/C/man3/cbrt.3:79 build/C/man3/ceil.3:69 build/C/man3/copysign.3:81 build/C/man3/cos.3:75 build/C/man3/cosh.3:79 build/C/man3/div.3:89 build/C/man3/erf.3:83 build/C/man3/erfc.3:71 build/C/man3/exp.3:74 build/C/man3/exp10.3:58 build/C/man3/exp2.3:74 build/C/man3/expm1.3:88 build/C/man3/fabs.3:68 build/C/man3/fdim.3:42 build/C/man3/fenv.3:258 build/C/man3/floor.3:68 build/C/man3/fma.3:53 build/C/man3/fmax.3:45 build/C/man3/fmin.3:45 build/C/man3/fmod.3:87 build/C/man3/frexp.3:74 build/C/man3/gamma.3:59 build/C/man3/hypot.3:92 build/C/man3/ilogb.3:78 build/C/man3/infnan.3:56 build/C/man3/isgreater.3:111 build/C/man3/j0.3:121 build/C/man3/ldexp.3:73 build/C/man3/lgamma.3:96 build/C/man3/log.3:73 build/C/man3/log10.3:73 build/C/man3/log1p.3:83 build/C/man3/log2.3:73 build/C/man3/logb.3:94 build/C/man3/lrint.3:74 build/C/man3/lround.3:77 build/C/man3/modf.3:76 build/C/man3/nextafter.3:104 build/C/man3/pow.3:75 build/C/man3/remainder.3:118 build/C/man3/remquo.3:73 build/C/man3/rint.3:111 build/C/man3/round.3:75 build/C/man3/scalb.3:79 build/C/man3/scalbln.3:95 build/C/man3/signbit.3:53 build/C/man3/sin.3:76 build/C/man3/sincos.3:49 build/C/man3/sinh.3:79 build/C/man3/sqrt.3:71 build/C/man3/tan.3:76 build/C/man3/tanh.3:78 build/C/man3/tgamma.3:67 build/C/man3/trunc.3:63 build/C/man3/y0.3:126
276 #: build/C/man3/abs.3:82
278 "Returns the absolute value of the integer argument, of the appropriate "
279 "integer type for the function."
283 #: build/C/man3/abs.3:82 build/C/man3/asinh.3:105 build/C/man3/atan.3:96 build/C/man3/cbrt.3:90 build/C/man3/ceil.3:81 build/C/man3/copysign.3:95 build/C/man3/cos.3:104 build/C/man3/div.3:91 build/C/man3/erf.3:126 build/C/man3/erfc.3:122 build/C/man3/expm1.3:136 build/C/man3/fabs.3:85 build/C/man3/fdim.3:81 build/C/man3/fenv.3:265 build/C/man3/finite.3:121 build/C/man3/floor.3:80 build/C/man3/fma.3:156 build/C/man3/fmax.3:58 build/C/man3/fmin.3:58 build/C/man3/fpclassify.3:118 build/C/man3/frexp.3:108 build/C/man3/ilogb.3:146 build/C/man3/isgreater.3:125 build/C/man3/ldexp.3:129 build/C/man3/log1p.3:142 build/C/man3/logb.3:143 build/C/man3/lrint.3:110 build/C/man3/lround.3:113 build/C/man3/modf.3:95 build/C/man3/nextafter.3:179 build/C/man3/remquo.3:124 build/C/man3/rint.3:122 build/C/man3/round.3:88 build/C/man3/scalbln.3:160 build/C/man3/signbit.3:61 build/C/man3/sin.3:108 build/C/man3/sincos.3:76 build/C/man3/tan.3:133 build/C/man3/tanh.3:100 build/C/man3/trunc.3:75
289 #: build/C/man3/abs.3:83 build/C/man3/asinh.3:106 build/C/man3/atan.3:97 build/C/man3/cbrt.3:91 build/C/man3/ceil.3:82 build/C/man3/copysign.3:96 build/C/man3/cos.3:105 build/C/man3/div.3:92 build/C/man3/erf.3:127 build/C/man3/erfc.3:123 build/C/man3/expm1.3:137 build/C/man3/fabs.3:86 build/C/man3/fdim.3:82 build/C/man3/fenv.3:266 build/C/man3/finite.3:122 build/C/man3/floor.3:81 build/C/man3/fma.3:157 build/C/man3/fmax.3:59 build/C/man3/fmin.3:59 build/C/man3/fpclassify.3:119 build/C/man3/frexp.3:109 build/C/man3/ilogb.3:147 build/C/man3/isgreater.3:126 build/C/man3/ldexp.3:130 build/C/man3/log1p.3:143 build/C/man3/logb.3:144 build/C/man3/lrint.3:111 build/C/man3/lround.3:114 build/C/man3/modf.3:96 build/C/man3/nextafter.3:180 build/C/man3/remquo.3:125 build/C/man3/rint.3:123 build/C/man3/round.3:89 build/C/man3/scalbln.3:161 build/C/man3/signbit.3:62 build/C/man3/sin.3:109 build/C/man3/sincos.3:77 build/C/man3/tan.3:134 build/C/man3/tanh.3:101 build/C/man3/trunc.3:76
291 msgid "Multithreading (see pthreads(7))"
295 #: build/C/man3/abs.3:91
297 "The B<abs>(), B<labs>(), B<llabs>(), and B<imaxabs>() functions are "
301 #. POSIX.1 (1996 edition) requires only the
305 #: build/C/man3/abs.3:106
307 "SVr4, POSIX.1-2001, 4.3BSD, C99. C89 only includes the B<abs>() and "
308 "B<labs>() functions; the functions B<llabs>() and B<imaxabs>() were added "
313 #: build/C/man3/abs.3:106 build/C/man3/ceil.3:95 build/C/man3/copysign.3:108 build/C/man3/erfc.3:136 build/C/man3/fenv.3:286 build/C/man3/finite.3:135 build/C/man3/floor.3:94 build/C/man3/fpclassify.3:135 build/C/man3/gamma.3:68 build/C/man3/infnan.3:89 build/C/man3/isgreater.3:138 build/C/man7/math_error.7:187 build/C/man3/pow10.3:51 build/C/man3/rint.3:135 build/C/man3/round.3:98 build/C/man3/scalbln.3:173 build/C/man3/tgamma.3:164 build/C/man3/trunc.3:85
319 #: build/C/man3/abs.3:109
321 "Trying to take the absolute value of the most negative integer is not "
326 #: build/C/man3/abs.3:118
328 "The B<llabs>() function is included in glibc since version 2.0, but is not "
329 "in libc5 or libc4. The B<imaxabs>() function is included in glibc since "
334 #: build/C/man3/abs.3:124
336 "For B<llabs>() to be declared, it may be necessary to define "
337 "B<_ISOC99_SOURCE> or B<_ISOC9X_SOURCE> (depending on the version of glibc) "
338 "before including any standard headers."
342 #: build/C/man3/abs.3:135
344 "GCC handles B<abs>() and B<labs>() as built-in functions. GCC 3.0 also "
345 "handles B<llabs>() and B<imaxabs>() as built-ins."
349 #: build/C/man3/abs.3:141
350 msgid "B<cabs>(3), B<ceil>(3), B<fabs>(3), B<floor>(3), B<rint>(3)"
354 #: build/C/man3/acos.3:35
360 #: build/C/man3/acos.3:35 build/C/man3/acosh.3:35 build/C/man3/asin.3:35 build/C/man3/atan2.3:35 build/C/man3/cosh.3:36 build/C/man3/exp.3:36 build/C/man3/exp2.3:36 build/C/man3/hypot.3:33 build/C/man3/log.3:36 build/C/man3/log10.3:36 build/C/man3/nan.3:11 build/C/man3/remainder.3:37 build/C/man3/sinh.3:36 build/C/man3/sqrt.3:34 build/C/man3/tgamma.3:13
366 #: build/C/man3/acos.3:38
367 msgid "acos, acosf, acosl - arc cosine function"
371 #: build/C/man3/acos.3:45
374 "B<double acos(double >I<x>B<);>\n"
375 "B<float acosf(float >I<x>B<);>\n"
376 "B<long double acosl(long double >I<x>B<);>\n"
380 #: build/C/man3/acos.3:48 build/C/man3/acosh.3:50 build/C/man3/asin.3:50 build/C/man3/asinh.3:50 build/C/man3/atan.3:50 build/C/man3/atan2.3:48 build/C/man3/atanh.3:50 build/C/man3/cbrt.3:45 build/C/man3/ceil.3:43 build/C/man3/copysign.3:46 build/C/man3/cos.3:49 build/C/man3/cosh.3:51 build/C/man3/erf.3:48 build/C/man3/erfc.3:39 build/C/man3/exp.3:51 build/C/man3/exp10.3:52 build/C/man3/exp2.3:51 build/C/man3/expm1.3:45 build/C/man3/fabs.3:47 build/C/man3/fdim.3:22 build/C/man3/fenv.3:61 build/C/man3/floor.3:42 build/C/man3/fma.3:27 build/C/man3/fmax.3:22 build/C/man3/fmin.3:22 build/C/man3/fmod.3:50 build/C/man3/fpclassify.3:30 build/C/man3/frexp.3:49 build/C/man3/gamma.3:22 build/C/man3/hypot.3:48 build/C/man3/ilogb.3:42 build/C/man3/infnan.3:44 build/C/man3/isgreater.3:32 build/C/man3/j0.3:64 build/C/man3/ldexp.3:49 build/C/man3/lgamma.3:35 build/C/man3/log.3:51 build/C/man3/log10.3:51 build/C/man3/log1p.3:44 build/C/man3/log2.3:51 build/C/man3/logb.3:42 build/C/man3/lrint.3:48 build/C/man3/lround.3:49 build/C/man3/matherr.3:41 build/C/man3/modf.3:49 build/C/man3/nan.3:24 build/C/man3/nextafter.3:31 build/C/man3/pow.3:50 build/C/man3/pow10.3:41 build/C/man3/remainder.3:57 build/C/man3/remquo.3:27 build/C/man3/rint.3:49 build/C/man3/round.3:42 build/C/man3/scalb.3:41 build/C/man3/scalbln.3:47 build/C/man3/signbit.3:20 build/C/man3/significand.3:23 build/C/man3/sin.3:50 build/C/man3/sincos.3:25 build/C/man3/sinh.3:51 build/C/man3/sqrt.3:49 build/C/man3/tan.3:50 build/C/man3/tanh.3:50 build/C/man3/tgamma.3:26 build/C/man3/trunc.3:40 build/C/man3/y0.3:64
381 msgid "Link with I<-lm>."
385 #: build/C/man3/acos.3:57
386 msgid "B<acosf>(), B<acosl>():"
390 #: build/C/man3/acos.3:60 build/C/man3/acosh.3:72 build/C/man3/asin.3:62 build/C/man3/asinh.3:72 build/C/man3/atan.3:62 build/C/man3/atan2.3:60 build/C/man3/atanh.3:72 build/C/man3/ceil.3:55 build/C/man3/cos.3:61 build/C/man3/cosh.3:63 build/C/man3/erf.3:69 build/C/man3/exp.3:63 build/C/man3/expm1.3:67 build/C/man3/fabs.3:59 build/C/man3/floor.3:54 build/C/man3/fmod.3:62 build/C/man3/fpclassify.3:61 build/C/man3/frexp.3:61 build/C/man3/hypot.3:69 build/C/man3/ilogb.3:65 build/C/man3/ldexp.3:61 build/C/man3/lgamma.3:56 build/C/man3/log.3:63 build/C/man3/log10.3:63 build/C/man3/log1p.3:66 build/C/man3/logb.3:64 build/C/man3/modf.3:61 build/C/man3/nextafter.3:54 build/C/man3/pow.3:62 build/C/man3/remainder.3:80 build/C/man3/rint.3:81 build/C/man3/scalbln.3:71 build/C/man3/sin.3:62 build/C/man3/sinh.3:63 build/C/man3/sqrt.3:61 build/C/man3/tan.3:62 build/C/man3/tanh.3:62
392 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600 || "
393 "_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
397 #: build/C/man3/acos.3:73
399 "The B<acos>() function calculates the arc cosine of I<x>; that is the value "
400 "whose cosine is I<x>."
404 #: build/C/man3/acos.3:77
406 "On success, these functions return the arc cosine of I<x> in radians; the "
407 "return value is in the range [0,\\ pi]."
411 #: build/C/man3/acos.3:81 build/C/man3/acosh.3:91 build/C/man3/asin.3:82 build/C/man3/asinh.3:91 build/C/man3/atan.3:82 build/C/man3/atanh.3:91 build/C/man3/cos.3:82 build/C/man3/cosh.3:86 build/C/man3/erf.3:91 build/C/man3/erfc.3:79 build/C/man3/exp.3:82 build/C/man3/expm1.3:96 build/C/man3/fabs.3:75 build/C/man3/j0.3:129 build/C/man3/ldexp.3:87 build/C/man3/lgamma.3:102 build/C/man3/log.3:81 build/C/man3/log1p.3:91 build/C/man3/logb.3:102 build/C/man3/scalbln.3:106 build/C/man3/sin.3:83 build/C/man3/sinh.3:86 build/C/man3/sqrt.3:78 build/C/man3/tan.3:83 build/C/man3/tanh.3:85 build/C/man3/tgamma.3:73 build/C/man3/y0.3:134
412 msgid "If I<x> is a NaN, a NaN is returned."
416 #: build/C/man3/acos.3:86 build/C/man3/acosh.3:95
417 msgid "If I<x> is +1, +0 is returned."
421 #: build/C/man3/acos.3:92 build/C/man3/cos.3:88 build/C/man3/sin.3:92 build/C/man3/tan.3:89
423 "If I<x> is positive infinity or negative infinity, a domain error occurs, "
424 "and a NaN is returned."
428 #. POSIX.1-2001 documents an optional range error for subnormal x;
429 #. glibc 2.8 does not do this.
431 #: build/C/man3/acos.3:98 build/C/man3/asin.3:96
433 "If I<x> is outside the range [-1,\\ 1], a domain error occurs, and a NaN is "
438 #: build/C/man3/acos.3:98 build/C/man3/acosh.3:105 build/C/man3/asin.3:96 build/C/man3/asinh.3:103 build/C/man3/atan.3:94 build/C/man3/atan2.3:162 build/C/man3/atanh.3:115 build/C/man3/cbrt.3:88 build/C/man3/ceil.3:78 build/C/man3/copysign.3:93 build/C/man3/cos.3:88 build/C/man3/cosh.3:104 build/C/man3/erf.3:106 build/C/man3/erfc.3:102 build/C/man3/exp.3:105 build/C/man3/exp10.3:65 build/C/man3/exp2.3:81 build/C/man3/expm1.3:117 build/C/man3/fabs.3:83 build/C/man3/fdim.3:59 build/C/man3/floor.3:77 build/C/man3/fma.3:117 build/C/man3/fmax.3:54 build/C/man3/fmin.3:54 build/C/man3/fmod.3:120 build/C/man3/frexp.3:106 build/C/man3/gamma.3:62 build/C/man3/hypot.3:128 build/C/man3/ilogb.3:110 build/C/man3/infnan.3:76 build/C/man3/isgreater.3:123 build/C/man3/j0.3:136 build/C/man3/ldexp.3:106 build/C/man3/lgamma.3:132 build/C/man3/log.3:105 build/C/man3/log10.3:81 build/C/man3/log1p.3:113 build/C/man3/log2.3:81 build/C/man3/logb.3:116 build/C/man3/lrint.3:88 build/C/man3/lround.3:91 build/C/man3/modf.3:93 build/C/man3/nextafter.3:149 build/C/man3/pow.3:256 build/C/man3/remainder.3:150 build/C/man3/remquo.3:101 build/C/man3/rint.3:119 build/C/man3/round.3:83 build/C/man3/scalb.3:138 build/C/man3/scalbln.3:130 build/C/man3/signbit.3:59 build/C/man3/sin.3:92 build/C/man3/sincos.3:52 build/C/man3/sinh.3:109 build/C/man3/sqrt.3:92 build/C/man3/tan.3:107 build/C/man3/tanh.3:98 build/C/man3/tgamma.3:107 build/C/man3/trunc.3:71 build/C/man3/y0.3:171
444 #: build/C/man3/acos.3:103 build/C/man3/acosh.3:110 build/C/man3/asin.3:101 build/C/man3/atanh.3:120 build/C/man3/cos.3:93 build/C/man3/cosh.3:109 build/C/man3/erf.3:111 build/C/man3/erfc.3:107 build/C/man3/exp.3:110 build/C/man3/exp10.3:70 build/C/man3/exp2.3:86 build/C/man3/expm1.3:122 build/C/man3/fdim.3:64 build/C/man3/fma.3:122 build/C/man3/fmod.3:125 build/C/man3/hypot.3:133 build/C/man3/ilogb.3:115 build/C/man3/j0.3:141 build/C/man3/ldexp.3:111 build/C/man3/lgamma.3:137 build/C/man3/log.3:110 build/C/man3/log10.3:86 build/C/man3/log1p.3:118 build/C/man3/log2.3:86 build/C/man3/logb.3:121 build/C/man3/lrint.3:93 build/C/man3/lround.3:96 build/C/man3/nextafter.3:154 build/C/man3/pow.3:281 build/C/man3/remainder.3:155 build/C/man3/remquo.3:106 build/C/man3/scalb.3:143 build/C/man3/scalbln.3:135 build/C/man3/sin.3:97 build/C/man3/sincos.3:57 build/C/man3/sinh.3:114 build/C/man3/sqrt.3:97 build/C/man3/tan.3:112 build/C/man3/tgamma.3:112 build/C/man3/y0.3:176
446 "See B<math_error>(7) for information on how to determine whether an error "
447 "has occurred when calling these functions."
451 #: build/C/man3/acos.3:105 build/C/man3/acosh.3:112 build/C/man3/asin.3:103 build/C/man3/atanh.3:122 build/C/man3/cos.3:95 build/C/man3/cosh.3:111 build/C/man3/erf.3:113 build/C/man3/erfc.3:109 build/C/man3/exp.3:112 build/C/man3/expm1.3:124 build/C/man3/fdim.3:66 build/C/man3/fma.3:124 build/C/man3/fmod.3:127 build/C/man3/hypot.3:135 build/C/man3/ilogb.3:117 build/C/man3/j0.3:143 build/C/man3/ldexp.3:113 build/C/man3/lgamma.3:139 build/C/man3/log.3:112 build/C/man3/log1p.3:120 build/C/man3/logb.3:123 build/C/man3/lrint.3:95 build/C/man3/lround.3:98 build/C/man3/nextafter.3:156 build/C/man3/pow.3:283 build/C/man3/remainder.3:157 build/C/man3/remquo.3:108 build/C/man3/scalb.3:145 build/C/man3/scalbln.3:137 build/C/man3/sin.3:99 build/C/man3/sincos.3:59 build/C/man3/sinh.3:116 build/C/man3/sqrt.3:99 build/C/man3/tan.3:114 build/C/man3/tgamma.3:114 build/C/man3/y0.3:178
452 msgid "The following errors can occur:"
456 #: build/C/man3/acos.3:105 build/C/man3/asin.3:103
458 msgid "Domain error: I<x> is outside the range [-1,\\ 1]"
462 #: build/C/man3/acos.3:113 build/C/man3/acosh.3:120 build/C/man3/asin.3:111 build/C/man3/atanh.3:130 build/C/man3/fmod.3:146 build/C/man3/log.3:120 build/C/man3/pow.3:291 build/C/man3/remainder.3:180 build/C/man3/sqrt.3:107 build/C/man3/y0.3:186
464 "I<errno> is set to B<EDOM>. An invalid floating-point exception "
465 "(B<FE_INVALID>) is raised."
469 #: build/C/man3/acos.3:119 build/C/man3/acosh.3:126 build/C/man3/asin.3:117 build/C/man3/asinh.3:119 build/C/man3/atan.3:110 build/C/man3/atan2.3:172 build/C/man3/atanh.3:145 build/C/man3/ceil.3:95 build/C/man3/exp.3:134 build/C/man3/exp2.3:97 build/C/man3/fabs.3:99 build/C/man3/floor.3:94 build/C/man3/fmod.3:152 build/C/man3/frexp.3:122 build/C/man3/ldexp.3:143 build/C/man3/log.3:134 build/C/man3/log10.3:95 build/C/man3/modf.3:109 build/C/man3/pow.3:322 build/C/man3/sin.3:122 build/C/man3/sinh.3:130 build/C/man3/sqrt.3:113 build/C/man3/tan.3:147 build/C/man3/tanh.3:114
471 "C99, POSIX.1-2001. The variant returning I<double> also conforms to SVr4, "
476 #: build/C/man3/acos.3:127
478 "B<asin>(3), B<atan>(3), B<atan2>(3), B<cacos>(3), B<cos>(3), B<sin>(3), "
483 #: build/C/man3/acosh.3:35
489 #: build/C/man3/acosh.3:38
490 msgid "acosh, acoshf, acoshl - inverse hyperbolic cosine function"
494 #: build/C/man3/acosh.3:43
496 msgid "B<double acosh(double >I<x>B<);>\n"
500 #: build/C/man3/acosh.3:45
502 msgid "B<float acoshf(float >I<x>B<);>\n"
506 #: build/C/man3/acosh.3:47
508 msgid "B<long double acoshl(long double >I<x>B<);>\n"
512 #: build/C/man3/acosh.3:58
517 #: build/C/man3/acosh.3:62 build/C/man3/asinh.3:62 build/C/man3/atanh.3:62 build/C/man3/cbrt.3:58 build/C/man3/expm1.3:57 build/C/man3/ilogb.3:55 build/C/man3/log1p.3:56 build/C/man3/logb.3:54 build/C/man3/nextafter.3:44 build/C/man3/rint.3:71
519 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
520 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || "
521 "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
525 #: build/C/man3/acosh.3:69
526 msgid "B<acoshf>(), B<acoshl>():"
530 #: build/C/man3/acosh.3:84
532 "The B<acosh>() function calculates the inverse hyperbolic cosine of I<x>; "
533 "that is the value whose hyperbolic cosine is I<x>."
537 #: build/C/man3/acosh.3:87
538 msgid "On success, these functions return the inverse hyperbolic cosine of I<x>."
542 #: build/C/man3/acosh.3:99 build/C/man3/exp.3:87 build/C/man3/expm1.3:105 build/C/man3/log.3:90 build/C/man3/log1p.3:95 build/C/man3/sqrt.3:86 build/C/man3/tgamma.3:77
543 msgid "If I<x> is positive infinity, positive infinity is returned."
547 #: build/C/man3/acosh.3:105
549 "If I<x> is less than 1, a domain error occurs, and the functions return a "
554 #: build/C/man3/acosh.3:112
556 msgid "Domain error: I<x> is less than 1"
560 #: build/C/man3/acosh.3:133
561 msgid "B<asinh>(3), B<atanh>(3), B<cacosh>(3), B<cosh>(3), B<sinh>(3), B<tanh>(3)"
565 #: build/C/man3/asin.3:35
571 #: build/C/man3/asin.3:38
572 msgid "asin, asinf, asinl - arc sine function"
576 #: build/C/man3/asin.3:43
578 msgid "B<double asin(double >I<x>B<);>\n"
582 #: build/C/man3/asin.3:45
584 msgid "B<float asinf(float >I<x>B<);>\n"
588 #: build/C/man3/asin.3:47
590 msgid "B<long double asinl(long double >I<x>B<);>\n"
594 #: build/C/man3/asin.3:59
595 msgid "B<asinf>(), B<asinl>():"
599 #: build/C/man3/asin.3:74
601 "The B<asin>() function calculates the principal value of the arc sine of "
602 "I<x>; that is the value whose sine is I<x>."
606 #: build/C/man3/asin.3:78
608 "On success, these functions return the principal value of the arc sine of "
609 "I<x> in radians; the return value is in the range [-pi/2,\\ pi/2]."
613 #: build/C/man3/asin.3:87 build/C/man3/asinh.3:95 build/C/man3/atan.3:87 build/C/man3/atanh.3:95 build/C/man3/erf.3:95 build/C/man3/expm1.3:101 build/C/man3/scalbln.3:115 build/C/man3/sinh.3:90 build/C/man3/sqrt.3:82 build/C/man3/tanh.3:89
614 msgid "If I<x> is +0 (-0), +0 (-0) is returned."
618 #: build/C/man3/asin.3:125
620 "B<acos>(3), B<atan>(3), B<atan2>(3), B<casin>(3), B<cos>(3), B<sin>(3), "
625 #: build/C/man3/asinh.3:35
631 #: build/C/man3/asinh.3:35 build/C/man3/copysign.3:31 build/C/man3/cos.3:34 build/C/man3/expm1.3:30
637 #: build/C/man3/asinh.3:38
638 msgid "asinh, asinhf, asinhl - inverse hyperbolic sine function"
642 #: build/C/man3/asinh.3:43
644 msgid "B<double asinh(double >I<x>B<);>\n"
648 #: build/C/man3/asinh.3:45
650 msgid "B<float asinhf(float >I<x>B<);>\n"
654 #: build/C/man3/asinh.3:47
656 msgid "B<long double asinhl(long double >I<x>B<);>\n"
660 #: build/C/man3/asinh.3:58
665 #: build/C/man3/asinh.3:69
666 msgid "B<asinhf>(), B<asinhl>():"
670 #: build/C/man3/asinh.3:84
672 "The B<asinh>() function calculates the inverse hyperbolic sine of I<x>; "
673 "that is the value whose hyperbolic sine is I<x>."
677 #: build/C/man3/asinh.3:87
678 msgid "On success, these functions return the inverse hyperbolic sine of I<x>."
682 #: build/C/man3/asinh.3:103 build/C/man3/ldexp.3:92 build/C/man3/scalbln.3:111 build/C/man3/sinh.3:95
684 "If I<x> is positive infinity (negative infinity), positive infinity "
685 "(negative infinity) is returned."
689 #: build/C/man3/asinh.3:105 build/C/man3/atan.3:96 build/C/man3/atan2.3:166 build/C/man3/cbrt.3:90 build/C/man3/copysign.3:95 build/C/man3/fabs.3:85 build/C/man3/fmax.3:56 build/C/man3/fmin.3:56 build/C/man3/frexp.3:108 build/C/man3/isgreater.3:125 build/C/man3/modf.3:95 build/C/man3/signbit.3:61 build/C/man3/tanh.3:100 build/C/man3/trunc.3:73
690 msgid "No errors occur."
694 #: build/C/man3/asinh.3:113
695 msgid "The B<asinh>(), B<asinhf>(), and B<asinhl>() functions are thread-safe."
699 #: build/C/man3/asinh.3:126
700 msgid "B<acosh>(3), B<atanh>(3), B<casinh>(3), B<cosh>(3), B<sinh>(3), B<tanh>(3)"
704 #: build/C/man3/atan.3:35
710 #: build/C/man3/atan.3:35
716 #: build/C/man3/atan.3:38
717 msgid "atan, atanf, atanl - arc tangent function"
721 #: build/C/man3/atan.3:43
723 msgid "B<double atan(double >I<x>B<);>\n"
727 #: build/C/man3/atan.3:45
729 msgid "B<float atanf(float >I<x>B<);>\n"
733 #: build/C/man3/atan.3:47
735 msgid "B<long double atanl( long double >I<x>B<);>\n"
739 #: build/C/man3/atan.3:59
740 msgid "B<atanf>(), B<atanl>():"
744 #: build/C/man3/atan.3:74
746 "The B<atan>() function calculates the principal value of the arc tangent of "
747 "I<x>; that is the value whose tangent is I<x>."
751 #: build/C/man3/atan.3:78
753 "On success, these functions return the principal value of the arc tangent of "
754 "I<x> in radians; the return value is in the range [-pi/2,\\ pi/2]."
758 #. POSIX.1-2001 documents an optional range error for subnormal x;
759 #. glibc 2.8 does not do this.
761 #: build/C/man3/atan.3:94
762 msgid "If I<x> is positive infinity (negative infinity), +pi/2 (-pi/2) is returned."
766 #: build/C/man3/atan.3:104
767 msgid "The B<atan>(), B<atanf>(), and B<atanl>() functions are thread-safe."
771 #: build/C/man3/atan.3:119
773 "B<acos>(3), B<asin>(3), B<atan2>(3), B<carg>(3), B<catan>(3), B<cos>(3), "
774 "B<sin>(3), B<tan>(3)"
778 #: build/C/man3/atan2.3:35
784 #: build/C/man3/atan2.3:38
785 msgid "atan2, atan2f, atan2l - arc tangent function of two variables"
789 #: build/C/man3/atan2.3:45
792 "B<double atan2(double >I<y>B<, double >I<x>B<);>\n"
793 "B<float atan2f(float >I<y>B<, float >I<x>B<);>\n"
794 "B<long double atan2l(long double >I<y>B<, long double >I<x>B<);>\n"
798 #: build/C/man3/atan2.3:57
799 msgid "B<atan2f>(), B<atan2l>():"
803 #: build/C/man3/atan2.3:72
805 "The B<atan2>() function calculates the principal value of the arc tangent "
806 "of I<y/x>, using the signs of the two arguments to determine the quadrant of "
811 #: build/C/man3/atan2.3:76
813 "On success, these functions return the principal value of the arc tangent of "
814 "I<y/x> in radians; the return value is in the range [-pi,\\ pi]."
818 #: build/C/man3/atan2.3:82
819 msgid "If I<y> is +0 (-0) and I<x> is less than 0, +pi (-pi) is returned."
823 #: build/C/man3/atan2.3:88
824 msgid "If I<y> is +0 (-0) and I<x> is greater than 0, +0 (-0) is returned."
828 #: build/C/man3/atan2.3:94
829 msgid "If I<y> is less than 0 and I<x> is +0 or -0, -pi/2 is returned."
833 #: build/C/man3/atan2.3:100
834 msgid "If I<y> is greater than 0 and I<x> is +0 or -0, pi/2 is returned."
840 #. is 0, a pole error shall not occur.
842 #: build/C/man3/atan2.3:111
843 msgid "If either I<x> or I<y> is NaN, a NaN is returned."
847 #. If the result underflows, a range error may occur and
849 #. should be returned.
851 #: build/C/man3/atan2.3:122
852 msgid "If I<y> is +0 (-0) and I<x> is -0, +pi (-pi) is returned."
856 #: build/C/man3/atan2.3:128
857 msgid "If I<y> is +0 (-0) and I<x> is +0, +0 (-0) is returned."
861 #: build/C/man3/atan2.3:134
863 "If I<y> is a finite value greater (less) than 0, and I<x> is negative "
864 "infinity, +pi (-pi) is returned."
868 #: build/C/man3/atan2.3:140
870 "If I<y> is a finite value greater (less) than 0, and I<x> is positive "
871 "infinity, +0 (-0) is returned."
875 #: build/C/man3/atan2.3:147
877 "If I<y> is positive infinity (negative infinity), and I<x> is finite, pi/2 "
878 "(-pi/2) is returned."
882 #: build/C/man3/atan2.3:153
884 "If I<y> is positive infinity (negative infinity) and I<x> is negative "
885 "infinity, +3*pi/4 (-3*pi/4) is returned."
890 #. If both arguments are 0, a domain error shall not occur.
892 #: build/C/man3/atan2.3:162
894 "If I<y> is positive infinity (negative infinity) and I<x> is positive "
895 "infinity, +pi/4 (-pi/4) is returned."
899 #: build/C/man3/atan2.3:180
901 "B<acos>(3), B<asin>(3), B<atan>(3), B<carg>(3), B<cos>(3), B<sin>(3), "
906 #: build/C/man3/atanh.3:35
912 #: build/C/man3/atanh.3:35
918 #: build/C/man3/atanh.3:38
919 msgid "atanh, atanhf, atanhl - inverse hyperbolic tangent function"
923 #: build/C/man3/atanh.3:43
925 msgid "B<double atanh(double >I<x>B<);>\n"
929 #: build/C/man3/atanh.3:45
931 msgid "B<float atanhf(float >I<x>B<);>\n"
935 #: build/C/man3/atanh.3:47
937 msgid "B<long double atanhl(long double >I<x>B<);>\n"
941 #: build/C/man3/atanh.3:58
946 #: build/C/man3/atanh.3:69
947 msgid "B<atanhf>(), B<atanhl>():"
951 #: build/C/man3/atanh.3:84
953 "The B<atanh>() function calculates the inverse hyperbolic tangent of I<x>; "
954 "that is the value whose hyperbolic tangent is I<x>."
958 #: build/C/man3/atanh.3:87
959 msgid "On success, these functions return the inverse hyperbolic tangent of I<x>."
963 #: build/C/man3/atanh.3:106
965 "If I<x> is +1 or -1, a pole error occurs, and the functions return "
966 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the "
967 "mathematically correct sign."
971 #. POSIX.1-2001 documents an optional range error for subnormal x;
972 #. glibc 2.8 does not do this.
974 #: build/C/man3/atanh.3:115
976 "If the absolute value of I<x> is greater than 1, a domain error occurs, and "
981 #: build/C/man3/atanh.3:122
983 msgid "Domain error: I<x> less than -1 or greater than +1"
987 #: build/C/man3/atanh.3:130
989 msgid "Pole error: I<x> is +1 or -1"
993 #: build/C/man3/atanh.3:139 build/C/man3/lgamma.3:148 build/C/man3/pow.3:300
995 "I<errno> is set to B<ERANGE> (but see BUGS). A divide-by-zero "
996 "floating-point exception (B<FE_DIVBYZERO>) is raised."
1000 #: build/C/man3/atanh.3:145 build/C/man3/cos.3:118 build/C/man3/cosh.3:125 build/C/man3/expm1.3:147 build/C/man3/fenv.3:331 build/C/man3/fmod.3:152 build/C/man3/j0.3:163 build/C/man3/lgamma.3:167 build/C/man3/log.3:134 build/C/man3/nextafter.3:194 build/C/man3/pow.3:322 build/C/man3/remainder.3:204 build/C/man3/sin.3:122 build/C/man3/tan.3:147 build/C/man3/tgamma.3:171 build/C/man3/y0.3:236
1005 #. Bug: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6759
1006 #. This can be seen in sysdeps/ieee754/k_standard.c
1008 #: build/C/man3/atanh.3:156
1010 "In glibc 2.9 and earlier, when a pole error occurs, I<errno> as set to "
1011 "B<EDOM> instead of the POSIX-mandated B<ERANGE>. Since version 2.10, glibc "
1012 "does the right thing."
1016 #: build/C/man3/atanh.3:163
1017 msgid "B<acosh>(3), B<asinh>(3), B<catanh>(3), B<cosh>(3), B<sinh>(3), B<tanh>(3)"
1021 #: build/C/man3/cbrt.3:30
1027 #: build/C/man3/cbrt.3:30
1033 #: build/C/man3/cbrt.3:33
1034 msgid "cbrt, cbrtf, cbrtl - cube root function"
1038 #: build/C/man3/cbrt.3:38
1040 msgid "B<double cbrt(double >I<x>B<);>\n"
1044 #: build/C/man3/cbrt.3:40
1046 msgid "B<float cbrtf(float >I<x>B<);>\n"
1050 #: build/C/man3/cbrt.3:42
1052 msgid "B<long double cbrtl(long double >I<x>B<);>\n"
1056 #: build/C/man3/cbrt.3:53
1061 #: build/C/man3/cbrt.3:64
1062 msgid "B<cbrtf>(), B<cbrtl>():"
1066 #: build/C/man3/cbrt.3:67
1068 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600 || "
1069 "_ISOC99_SOURCE || _POSIX_C_SOUCE\\ E<gt>=\\ 200112L;"
1073 #: build/C/man3/cbrt.3:79
1075 "The B<cbrt>() function returns the (real) cube root of I<x>. This function "
1076 "cannot fail; every representable real value has a representable real cube "
1081 #: build/C/man3/cbrt.3:82
1082 msgid "These functions return the cube root of I<x>."
1086 #: build/C/man3/cbrt.3:88
1088 "If I<x> is +0, -0, positive infinity, negative infinity, or NaN, I<x> is "
1093 #: build/C/man3/cbrt.3:98
1094 msgid "The B<cbrt>(), B<cbrtf>(), and B<cbrtl>() functions are thread-safe."
1098 #: build/C/man3/cbrt.3:102 build/C/man3/expm1.3:147 build/C/man3/fdim.3:91 build/C/man3/fma.3:166 build/C/man3/fmax.3:68 build/C/man3/fmin.3:68 build/C/man3/ilogb.3:156 build/C/man3/isgreater.3:138 build/C/man3/log1p.3:153 build/C/man3/logb.3:153 build/C/man3/lrint.3:123 build/C/man3/lround.3:126 build/C/man3/remquo.3:134 build/C/man3/rint.3:135 build/C/man3/round.3:98 build/C/man3/scalbln.3:173 build/C/man3/tgamma.3:164 build/C/man3/trunc.3:85
1099 msgid "C99, POSIX.1-2001."
1103 #: build/C/man3/cbrt.3:105
1104 msgid "B<pow>(3), B<sqrt>(3)"
1108 #: build/C/man3/ceil.3:27
1114 #: build/C/man3/ceil.3:31
1116 "ceil, ceilf, ceill - ceiling function: smallest integral value not less than "
1121 #: build/C/man3/ceil.3:36
1123 msgid "B<double ceil(double >I<x>B<);>\n"
1127 #: build/C/man3/ceil.3:38
1129 msgid "B<float ceilf(float >I<x>B<);>\n"
1133 #: build/C/man3/ceil.3:40
1135 msgid "B<long double ceill(long double >I<x>B<);>\n"
1139 #: build/C/man3/ceil.3:52
1140 msgid "B<ceilf>(), B<ceill>():"
1144 #: build/C/man3/ceil.3:63
1146 "These functions return the smallest integral value that is not less than "
1151 #: build/C/man3/ceil.3:69
1152 msgid "For example, I<ceil(0.5)> is 1.0, and I<ceil(-0.5)> is 0.0."
1156 #: build/C/man3/ceil.3:72
1157 msgid "These functions return the ceiling of I<x>."
1161 #: build/C/man3/ceil.3:78 build/C/man3/rint.3:119 build/C/man3/round.3:83
1162 msgid "If I<x> is integral, +0, -0, NaN, or infinite, I<x> itself is returned."
1166 #: build/C/man3/ceil.3:81 build/C/man3/floor.3:80 build/C/man3/rint.3:122 build/C/man3/round.3:86
1168 "No errors occur. POSIX.1-2001 documents a range error for overflows, but "
1173 #: build/C/man3/ceil.3:89
1174 msgid "The B<ceil>(), B<ceilf>(), and B<ceill>() functions are thread-safe."
1178 #: build/C/man3/ceil.3:111 build/C/man3/floor.3:110 build/C/man3/rint.3:150
1180 "SUSv2 and POSIX.1-2001 contain text about overflow (which might set I<errno> "
1181 "to B<ERANGE>, or raise an B<FE_OVERFLOW> exception). In practice, the "
1182 "result cannot overflow on any current machine, so this error-handling stuff "
1183 "is just nonsense. (More precisely, overflow can happen only when the "
1184 "maximum value of the exponent is smaller than the number of mantissa bits. "
1185 "For the IEEE-754 standard 32-bit and 64-bit floating-point numbers the "
1186 "maximum value of the exponent is 128 (respectively, 1024), and the number of "
1187 "mantissa bits is 24 (respectively, 53).)"
1191 #: build/C/man3/ceil.3:120 build/C/man3/trunc.3:94
1193 "The integral value returned by these functions may be too large to store in "
1194 "an integer type (I<int>, I<long>, etc.). To avoid an overflow, which will "
1195 "produce undefined results, an application should perform a range check on "
1196 "the returned value before assigning it to an integer type."
1200 #: build/C/man3/ceil.3:127
1202 "B<floor>(3), B<lrint>(3), B<nearbyint>(3), B<rint>(3), B<round>(3), "
1207 #: build/C/man3/copysign.3:31
1213 #: build/C/man3/copysign.3:34
1214 msgid "copysign, copysignf, copysignl - copy sign of a number"
1218 #: build/C/man3/copysign.3:39
1220 msgid "B<double copysign(double >I<x>B<, double >I<y>B<);>\n"
1224 #: build/C/man3/copysign.3:41
1226 msgid "B<float copysignf(float >I<x>B<, float >I<y>B<);>\n"
1230 #: build/C/man3/copysign.3:43
1232 msgid "B<long double copysignl(long double >I<x>B<, long double >I<y>B<);>\n"
1236 #: build/C/man3/copysign.3:56
1237 msgid "B<copysign>(), B<copysignf>(), B<copysignl>():"
1241 #: build/C/man3/copysign.3:59
1243 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600 || "
1244 "_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
1248 #: build/C/man3/copysign.3:75
1250 "The B<copysign>(), B<copysignf>(), and B<copysignl>() functions return a "
1251 "value whose absolute value matches that of I<x>, but whose sign bit matches "
1256 #: build/C/man3/copysign.3:81
1258 "For example, I<copysign(42.0,\\ -1.0)> and I<copysign(-42.0, -1.0)> both "
1263 #: build/C/man3/copysign.3:86
1265 "On success, these functions return a value whose magnitude is taken from "
1266 "I<x> and whose sign is taken from I<y>."
1270 #: build/C/man3/copysign.3:93
1271 msgid "If I<x> is a NaN, a NaN with the sign bit of I<y> is returned."
1275 #: build/C/man3/copysign.3:103
1277 "The B<copysign>(), B<copysignf>(), and B<copysignl>() functions are "
1282 #: build/C/man3/copysign.3:108 build/C/man3/nextafter.3:194 build/C/man3/signbit.3:70
1284 "C99, POSIX.1-2001. This function is defined in IEC 559 (and the appendix "
1285 "with recommended functions in IEEE 754/IEEE 854)."
1289 #: build/C/man3/copysign.3:112
1291 "On architectures where the floating-point formats are not IEEE 754 "
1292 "compliant, these functions may treat a negative zero as positive."
1296 #: build/C/man3/copysign.3:114
1297 msgid "B<signbit>(3)"
1301 #: build/C/man3/cos.3:34
1307 #: build/C/man3/cos.3:37
1308 msgid "cos, cosf, cosl - cosine function"
1312 #: build/C/man3/cos.3:42
1314 msgid "B<double cos(double >I<x>B<);>\n"
1318 #: build/C/man3/cos.3:44
1320 msgid "B<float cosf(float >I<x>B<);>\n"
1324 #: build/C/man3/cos.3:46
1326 msgid "B<long double cosl(long double >I<x>B<);>\n"
1330 #: build/C/man3/cos.3:58
1331 msgid "B<cosf>(), B<cosl>():"
1335 #: build/C/man3/cos.3:75
1337 "The B<cos>() function returns the cosine of I<x>, where I<x> is given in "
1342 #: build/C/man3/cos.3:78
1343 msgid "On success, these functions return the cosine of I<x>."
1347 #: build/C/man3/cos.3:95 build/C/man3/fmod.3:127 build/C/man3/ilogb.3:130 build/C/man3/sin.3:99 build/C/man3/sincos.3:59 build/C/man3/tan.3:114
1349 msgid "Domain error: I<x> is an infinity"
1353 #: build/C/man3/cos.3:104 build/C/man3/fmod.3:136 build/C/man3/sin.3:108 build/C/man3/tan.3:123
1355 "I<errno> is set to B<EDOM> (but see BUGS). An invalid floating-point "
1356 "exception (B<FE_INVALID>) is raised."
1360 #: build/C/man3/cos.3:112
1361 msgid "The B<cos>(), B<cosf>(), and B<cosl>() functions are thread-safe."
1365 #: build/C/man3/cos.3:118 build/C/man3/cosh.3:125 build/C/man3/erf.3:140 build/C/man3/erfc.3:136 build/C/man3/hypot.3:164 build/C/man3/log2.3:97
1367 "C99, POSIX.1-2001. The variant returning I<double> also conforms to SVr4, "
1371 #. http://sourceware.org/bugzilla/show_bug.cgi?id=6782
1373 #: build/C/man3/cos.3:125 build/C/man3/sin.3:129 build/C/man3/tan.3:154
1375 "Before version 2.10, the glibc implementation did not set I<errno> to "
1376 "B<EDOM> when a domain error occurred."
1380 #: build/C/man3/cos.3:134
1382 "B<acos>(3), B<asin>(3), B<atan>(3), B<atan2>(3), B<ccos>(3), B<sin>(3), "
1383 "B<sincos>(3), B<tan>(3)"
1387 #: build/C/man3/cosh.3:36
1393 #: build/C/man3/cosh.3:39
1394 msgid "cosh, coshf, coshl - hyperbolic cosine function"
1398 #: build/C/man3/cosh.3:44
1400 msgid "B<double cosh(double >I<x>B<);>\n"
1404 #: build/C/man3/cosh.3:46
1406 msgid "B<float coshf(float >I<x>B<);>\n"
1410 #: build/C/man3/cosh.3:48
1412 msgid "B<long double coshl(long double >I<x>B<);>\n"
1416 #: build/C/man3/cosh.3:60
1417 msgid "B<coshf>(), B<coshl>():"
1421 #: build/C/man3/cosh.3:75
1423 "The B<cosh>() function returns the hyperbolic cosine of I<x>, which is "
1424 "defined mathematically as:"
1428 #: build/C/man3/cosh.3:78
1430 msgid " cosh(x) = (exp(x) + exp(-x)) / 2\n"
1434 #: build/C/man3/cosh.3:82
1435 msgid "On success, these functions return the hyperbolic cosine of I<x>."
1439 #: build/C/man3/cosh.3:90 build/C/man3/erfc.3:83
1440 msgid "If I<x> is +0 or -0, 1 is returned."
1444 #: build/C/man3/cosh.3:95 build/C/man3/lgamma.3:111
1446 "If I<x> is positive infinity or negative infinity, positive infinity is "
1451 #: build/C/man3/cosh.3:104 build/C/man3/exp.3:105
1453 "If the result overflows, a range error occurs, and the functions return "
1454 "+B<HUGE_VAL>, +B<HUGE_VALF>, or +B<HUGE_VALL>, respectively."
1458 #: build/C/man3/cosh.3:111 build/C/man3/fdim.3:66 build/C/man3/fma.3:133 build/C/man3/hypot.3:135 build/C/man3/lgamma.3:148 build/C/man3/nextafter.3:156 build/C/man3/sinh.3:116 build/C/man3/tan.3:123 build/C/man3/tgamma.3:132 build/C/man3/y0.3:217
1460 msgid "Range error: result overflow"
1464 #: build/C/man3/cosh.3:119 build/C/man3/exp.3:120 build/C/man3/hypot.3:143 build/C/man3/ldexp.3:121 build/C/man3/lgamma.3:158 build/C/man3/pow.3:308 build/C/man3/sinh.3:124 build/C/man3/tgamma.3:140
1466 "I<errno> is set to B<ERANGE>. An overflow floating-point exception "
1467 "(B<FE_OVERFLOW>) is raised."
1471 #: build/C/man3/cosh.3:130
1473 "In glibc version 2.3.4 and earlier, an overflow floating-point "
1474 "(B<FE_OVERFLOW>) exception is not raised when an overflow occurs."
1478 #: build/C/man3/cosh.3:137
1479 msgid "B<acosh>(3), B<asinh>(3), B<atanh>(3), B<ccos>(3), B<sinh>(3), B<tanh>(3)"
1483 #: build/C/man3/div.3:34
1489 #: build/C/man3/div.3:34
1495 #: build/C/man3/div.3:38
1497 "div, ldiv, lldiv, imaxdiv - compute quotient and remainder of an integer "
1502 #: build/C/man3/div.3:43
1504 msgid "B<div_t div(int >I<numerator>B<, int >I<denominator>B<);>\n"
1508 #: build/C/man3/div.3:45
1510 msgid "B<ldiv_t ldiv(long >I<numerator>B<, long >I<denominator>B<);>\n"
1514 #: build/C/man3/div.3:47
1516 msgid "B<lldiv_t lldiv(long long >I<numerator>B<, long long >I<denominator>B<);>\n"
1520 #: build/C/man3/div.3:51
1523 "B<imaxdiv_t imaxdiv(intmax_t >I<numerator>B<, intmax_t "
1524 ">I<denominator>B<);>\n"
1528 #: build/C/man3/div.3:60
1533 #: build/C/man3/div.3:78
1535 "The B<div>() function computes the value I<numerator>/I<denominator> and "
1536 "returns the quotient and remainder in a structure named I<div_t> that "
1537 "contains two integer members (in unspecified order) named I<quot> and "
1538 "I<rem>. The quotient is rounded toward zero. The result satisfies "
1539 "I<quot>*I<denominator>+I<rem> = I<numerator>."
1543 #: build/C/man3/div.3:89
1545 "The B<ldiv>(), B<lldiv>(), and B<imaxdiv>() functions do the same, dividing "
1546 "numbers of the indicated type and returning the result in a structure of the "
1547 "indicated name, in all cases with fields I<quot> and I<rem> of the same type "
1548 "as the function arguments."
1552 #: build/C/man3/div.3:91
1553 msgid "The I<div_t> (etc.) structure."
1557 #: build/C/man3/div.3:100
1559 "The B<div>(), B<ldiv>(), B<lldiv>(), and B<imaxdiv>() functions are "
1564 #: build/C/man3/div.3:107
1566 "SVr4, 4.3BSD, C89. C99. The functions B<lldiv>() and B<imaxdiv>() were "
1571 #: build/C/man3/div.3:107 build/C/man3/frexp.3:122 build/C/man3/matherr.3:275 build/C/man3/remainder.3:213
1577 #: build/C/man3/div.3:109
1582 #: build/C/man3/div.3:112
1584 msgid " div_t q = div(-5, 3);\n"
1588 #: build/C/man3/div.3:115
1589 msgid "the values I<q.quot> and I<q.rem> are -1 and -2, respectively."
1593 #: build/C/man3/div.3:118
1594 msgid "B<abs>(3), B<remainder>(3)"
1598 #: build/C/man3/erf.3:35
1604 #: build/C/man3/erf.3:35 build/C/man3/erfc.3:26
1610 #: build/C/man3/erf.3:38
1611 msgid "erf, erff, erfl, - error function"
1615 #: build/C/man3/erf.3:45
1618 "B<double erf(double >I<x>B<);>\n"
1619 "B<float erff(float >I<x>B<);>\n"
1620 "B<long double erfl(long double >I<x>B<);>\n"
1624 #: build/C/man3/erf.3:56
1629 #: build/C/man3/erf.3:59 build/C/man3/erfc.3:50 build/C/man3/fpclassify.3:53 build/C/man3/hypot.3:59 build/C/man3/lgamma.3:46
1631 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE || "
1632 "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
1636 #: build/C/man3/erf.3:66
1637 msgid "B<erff>(), B<erfl>():"
1641 #: build/C/man3/erf.3:81
1642 msgid "The B<erf>() function returns the error function of I<x>, defined as"
1646 #: build/C/man3/erf.3:81
1648 msgid " erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(-t*t) dt"
1652 #: build/C/man3/erf.3:87
1654 "On success, these functions return the error function of I<x>, a value in "
1655 "the range [-1,\\ 1]."
1659 #. POSIX.1-2001 documents an optional range error (underflow)
1661 #. glibc 2.8 does not do this.
1663 #: build/C/man3/erf.3:100 build/C/man3/tanh.3:98
1664 msgid "If I<x> is positive infinity (negative infinity), +1 (-1) is returned."
1668 #: build/C/man3/erf.3:106
1670 "If I<x> is subnormal, a range error occurs, and the return value is "
1675 #: build/C/man3/erf.3:113
1677 msgid "Range error: result underflow (I<x> is subnormal)"
1680 #. e.g., tgamma(-172.5) on glibc 2.8/x86-32
1685 #: build/C/man3/erf.3:121 build/C/man3/erfc.3:117 build/C/man3/fma.3:149 build/C/man3/hypot.3:151 build/C/man3/nextafter.3:174 build/C/man3/scalb.3:171 build/C/man3/scalbln.3:153 build/C/man3/tgamma.3:152
1686 msgid "An underflow floating-point exception (B<FE_UNDERFLOW>) is raised."
1689 #. FIXME . Is it intentional that these functions do not set errno?
1690 #. sin() and cos() also don't set errno; bugs have been raised for
1692 #. See https://www.sourceware.org/bugzilla/show_bug.cgi?id=15467
1694 #: build/C/man3/erf.3:126 build/C/man3/erfc.3:122 build/C/man3/fdim.3:79 build/C/man3/fma.3:154 build/C/man3/log1p.3:142 build/C/man3/logb.3:143 build/C/man3/lrint.3:108 build/C/man3/lround.3:111 build/C/man3/nextafter.3:179 build/C/man3/remquo.3:122 build/C/man3/scalb.3:177 build/C/man3/scalbln.3:158 build/C/man3/sincos.3:74
1695 msgid "These functions do not set I<errno>."
1699 #: build/C/man3/erf.3:134
1700 msgid "The B<erf>(), B<erff>(), and B<erfl>() functions are thread-safe."
1704 #: build/C/man3/erf.3:144
1705 msgid "B<cerf>(3), B<erfc>(3), B<exp>(3)"
1709 #: build/C/man3/erfc.3:26
1715 #: build/C/man3/erfc.3:29
1716 msgid "erfc, erfcf, erfcl - complementary error function"
1720 #: build/C/man3/erfc.3:36
1723 "B<double erfc(double >I<x>B<);>\n"
1724 "B<float erfcf(float >I<x>B<);>\n"
1725 "B<long double erfcl(long double >I<x>B<);>\n"
1729 #: build/C/man3/erfc.3:47
1734 #: build/C/man3/erfc.3:57
1735 msgid "B<erfcf>(), B<erfcl>():"
1739 #: build/C/man3/erfc.3:60
1741 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600|| _ISOC99_SOURCE "
1742 "|| _POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
1746 #: build/C/man3/erfc.3:71
1748 "The B<erfc>() function returns the complementary error function of I<x>, "
1749 "that is, 1.0 - erf(x)."
1753 #: build/C/man3/erfc.3:75
1755 "On success, these functions return the complementary error function of I<x>, "
1756 "a value in the range [0,2]."
1760 #: build/C/man3/erfc.3:88
1761 msgid "If I<x> is positive infinity, +0 is returned."
1765 #: build/C/man3/erfc.3:93
1766 msgid "If I<x> is negative infinity, +2 is returned."
1770 #: build/C/man3/erfc.3:96
1772 "If the function result underflows and produces an unrepresentable value, the "
1773 "return value is 0.0."
1776 #. e.g., erfc(27) on x86-32
1778 #: build/C/man3/erfc.3:102
1780 "If the function result underflows but produces a representable (i.e., "
1781 "subnormal) value, that value is returned, and a range error occurs."
1785 #: build/C/man3/erfc.3:109
1787 msgid "Range error: result underflow (result is subnormal)"
1791 #: build/C/man3/erfc.3:130
1792 msgid "The B<erfc>(), B<erfcf>(), and B<erfcl>() functions are thread-safe."
1796 #: build/C/man3/erfc.3:146
1798 "The B<erfc>(), B<erfcf>(), and B<erfcl>() functions are provided to avoid "
1799 "the loss accuracy that would occur for the calculation 1-erf(x) for large "
1800 "values of I<x> (for which the value of erf(x) approaches 1)."
1804 #: build/C/man3/erfc.3:150
1805 msgid "B<cerf>(3), B<erf>(3), B<exp>(3)"
1809 #: build/C/man3/exp.3:36
1815 #: build/C/man3/exp.3:39
1816 msgid "exp, expf, expl - base-e exponential function"
1820 #: build/C/man3/exp.3:44
1822 msgid "B<double exp(double >I<x>B<);>\n"
1826 #: build/C/man3/exp.3:46
1828 msgid "B<float expf(float >I<x>B<);>\n"
1832 #: build/C/man3/exp.3:48
1834 msgid "B<long double expl(long double >I<x>B<);>\n"
1838 #: build/C/man3/exp.3:60
1839 msgid "B<expf>(), B<expl>():"
1843 #: build/C/man3/exp.3:74
1845 "The B<exp>() function returns the value of e (the base of natural "
1846 "logarithms) raised to the power of I<x>."
1850 #: build/C/man3/exp.3:77
1851 msgid "On success, these functions return the exponential value of I<x>."
1855 #: build/C/man3/exp.3:92
1856 msgid "If I<x> is negative infinity, +0 is returned."
1860 #: build/C/man3/exp.3:96 build/C/man3/ldexp.3:96
1861 msgid "If the result underflows, a range error occurs, and zero is returned."
1865 #: build/C/man3/exp.3:112 build/C/man3/expm1.3:124 build/C/man3/ldexp.3:113 build/C/man3/scalb.3:155 build/C/man3/scalbln.3:137
1867 msgid "Range error, overflow"
1871 #: build/C/man3/exp.3:120 build/C/man3/ldexp.3:121 build/C/man3/scalb.3:163 build/C/man3/scalbln.3:145
1873 msgid "Range error, underflow"
1877 #: build/C/man3/exp.3:128 build/C/man3/ldexp.3:129 build/C/man3/pow.3:316
1879 "I<errno> is set to B<ERANGE>. An underflow floating-point exception "
1880 "(B<FE_UNDERFLOW>) is raised."
1884 #: build/C/man3/exp.3:140
1885 msgid "B<cbrt>(3), B<cexp>(3), B<exp10>(3), B<exp2>(3), B<sqrt>(3)"
1889 #: build/C/man3/exp10.3:35
1895 #: build/C/man3/exp10.3:35 build/C/man7/math_error.7:26 build/C/man3/pow10.3:25
1901 #: build/C/man3/exp10.3:38
1902 msgid "exp10, exp10f, exp10l - base-10 exponential function"
1906 #: build/C/man3/exp10.3:41 build/C/man3/fenv.3:309
1908 msgid "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1912 #: build/C/man3/exp10.3:45
1914 msgid "B<double exp10(double >I<x>B<);>\n"
1918 #: build/C/man3/exp10.3:47
1920 msgid "B<float exp10f(float >I<x>B<);>\n"
1924 #: build/C/man3/exp10.3:49
1926 msgid "B<long double exp10l(long double >I<x>B<);>\n"
1930 #: build/C/man3/exp10.3:58
1932 "The B<exp10>() function returns the value of 10 raised to the power of "
1937 #: build/C/man3/exp10.3:61
1938 msgid "On success, these functions return the base-10 exponential value of I<x>."
1942 #: build/C/man3/exp10.3:65 build/C/man3/exp2.3:81
1944 "For various special cases, including the handling of infinity and NaN, as "
1945 "well as overflows and underflows, see B<exp>(3)."
1949 #: build/C/man3/exp10.3:75 build/C/man3/exp2.3:89
1951 "For a discussion of the errors that can occur for these functions, see "
1956 #: build/C/man3/exp10.3:75 build/C/man3/exp2.3:89 build/C/man3/fdim.3:79 build/C/man3/fenv.3:263 build/C/man3/fma.3:154 build/C/man3/fmax.3:56 build/C/man3/fmin.3:56 build/C/man3/log2.3:89 build/C/man3/lrint.3:108 build/C/man3/lround.3:111 build/C/man3/nan.3:73 build/C/man3/pow10.3:47 build/C/man3/remquo.3:122 build/C/man3/round.3:86 build/C/man3/scalbln.3:158 build/C/man3/sincos.3:74 build/C/man3/tgamma.3:160 build/C/man3/trunc.3:73
1962 #: build/C/man3/exp10.3:77 build/C/man3/exp2.3:91 build/C/man3/fdim.3:81 build/C/man3/fenv.3:265 build/C/man3/fma.3:156 build/C/man3/fmax.3:58 build/C/man3/fmin.3:58 build/C/man3/log2.3:91 build/C/man3/lrint.3:110 build/C/man3/lround.3:113 build/C/man3/nan.3:75 build/C/man3/pow10.3:49 build/C/man3/remquo.3:124 build/C/man3/round.3:88 build/C/man3/scalbln.3:160 build/C/man3/sincos.3:76 build/C/man3/tgamma.3:162 build/C/man3/trunc.3:75
1963 msgid "These functions first appeared in glibc in version 2.1."
1967 #: build/C/man3/exp10.3:79
1968 msgid "These functions are GNU extensions."
1972 #: build/C/man3/exp10.3:85
1973 msgid "B<cbrt>(3), B<exp>(3), B<exp2>(3), B<log10>(3), B<sqrt>(3)"
1977 #: build/C/man3/exp2.3:36
1983 #: build/C/man3/exp2.3:39
1984 msgid "exp2, exp2f, exp2l - base-2 exponential function"
1988 #: build/C/man3/exp2.3:44
1990 msgid "B<double exp2(double >I<x>B<);>\n"
1994 #: build/C/man3/exp2.3:46
1996 msgid "B<float exp2f(float >I<x>B<);>\n"
2000 #: build/C/man3/exp2.3:48
2002 msgid "B<long double exp2l(long double >I<x>B<);>\n"
2006 #: build/C/man3/exp2.3:61
2007 msgid "B<exp2>(), B<exp2f>(), B<exp2l>():"
2011 #: build/C/man3/exp2.3:74
2012 msgid "The B<exp2>() function returns the value of 2 raised to the power of I<x>."
2016 #: build/C/man3/exp2.3:77
2017 msgid "On success, these functions return the base-2 exponential value of I<x>."
2021 #: build/C/man3/exp2.3:103
2022 msgid "B<cbrt>(3), B<cexp2>(3), B<exp>(3), B<exp10>(3), B<sqrt>(3)"
2026 #: build/C/man3/expm1.3:30
2032 #: build/C/man3/expm1.3:33
2033 msgid "expm1, expm1f, expm1l - exponential minus 1"
2037 #: build/C/man3/expm1.3:38
2039 msgid "B<double expm1(double >I<x>B<);>\n"
2043 #: build/C/man3/expm1.3:40
2045 msgid "B<float expm1f(float >I<x>B<);>\n"
2049 #: build/C/man3/expm1.3:42
2051 msgid "B<long double expm1l(long double >I<x>B<);>\n"
2055 #: build/C/man3/expm1.3:53
2060 #: build/C/man3/expm1.3:64
2061 msgid "B<expm1f>(), B<expm1l>():"
2065 #: build/C/man3/expm1.3:75
2066 msgid "I<expm1(x)> returns a value equivalent to"
2070 #: build/C/man3/expm1.3:78
2072 msgid " exp(x) - 1\n"
2076 #: build/C/man3/expm1.3:88
2078 "It is computed in a way that is accurate even if the value of I<x> is near "
2079 "zero\\(ema case where I<exp(x) - 1> would be inaccurate due to subtraction "
2080 "of two numbers that are nearly equal."
2084 #: build/C/man3/expm1.3:91
2085 msgid "On success, these functions return I<exp(x)\\ -\\ 1>."
2089 #: build/C/man3/expm1.3:109
2090 msgid "If I<x> is negative infinity, -1 is returned."
2094 #: build/C/man3/expm1.3:117
2096 "If the result overflows, a range error occurs, and the functions return "
2097 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
2101 #. POSIX.1 specifies an optional range error (underflow) if
2102 #. x is subnormal. Glibc does not implement this.
2104 #: build/C/man3/expm1.3:136
2106 "I<errno> is set to B<ERANGE> (but see BUGS). An overflow floating-point "
2107 "exception (B<FE_OVERFLOW>) is raised."
2111 #: build/C/man3/expm1.3:144
2112 msgid "The B<expm1>(), B<expm1f>(), and B<expm1l>() functions are thread-safe."
2116 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6778
2118 #: build/C/man3/expm1.3:155
2120 "For some large negative I<x> values (where the function result approaches "
2121 "-1), B<expm1>() raises a bogus underflow floating-point exception."
2125 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6814
2126 #. e.g., expm1(1e5) through expm1(1.00199970127e5),
2127 #. but not expm1(1.00199970128e5) and beyond.
2129 #: build/C/man3/expm1.3:166
2131 "For some large positive I<x> values, B<expm1>() raises a bogus invalid "
2132 "floating-point exception in addition to the expected overflow exception, and "
2133 "returns a NaN instead of positive infinity."
2136 #. It looks like the fix was in 2.11, or possibly 2.12.
2137 #. I have no test system for 2.11, but 2.12 passes.
2138 #. From the source (sysdeps/i386/fpu/s_expm1.S) it looks
2139 #. like the changes were in 2.11.
2140 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6788
2142 #: build/C/man3/expm1.3:178
2144 "Before version 2.11, the glibc implementation did not set I<errno> to "
2145 "B<ERANGE> when a range error occurred."
2149 #: build/C/man3/expm1.3:182
2150 msgid "B<exp>(3), B<log>(3), B<log1p>(3)"
2154 #: build/C/man3/fabs.3:32
2160 #: build/C/man3/fabs.3:32
2166 #: build/C/man3/fabs.3:35
2167 msgid "fabs, fabsf, fabsl - absolute value of floating-point number"
2171 #: build/C/man3/fabs.3:40
2173 msgid "B<double fabs(double >I<x>B<);>\n"
2177 #: build/C/man3/fabs.3:42
2179 msgid "B<float fabsf(float >I<x>B<);>\n"
2183 #: build/C/man3/fabs.3:44
2185 msgid "B<long double fabsl(long double >I<x>B<);>\n"
2189 #: build/C/man3/fabs.3:56
2190 msgid "B<fabsf>(), B<fabsl>():"
2194 #: build/C/man3/fabs.3:68
2195 msgid "These functions return the absolute value of the floating-point number I<x>."
2199 #: build/C/man3/fabs.3:71
2200 msgid "These functions return the absolute value of I<x>."
2204 #: build/C/man3/fabs.3:79
2205 msgid "If I<x> is -0, +0 is returned."
2209 #: build/C/man3/fabs.3:83
2211 "If I<x> is negative infinity or positive infinity, positive infinity is "
2216 #: build/C/man3/fabs.3:93
2217 msgid "The B<fabs>(), B<fabsf>(), and B<fabsl>() functions are thread-safe."
2221 #: build/C/man3/fabs.3:106
2222 msgid "B<abs>(3), B<cabs>(3), B<ceil>(3), B<floor>(3), B<labs>(3), B<rint>(3)"
2226 #: build/C/man3/fdim.3:9
2232 #: build/C/man3/fdim.3:9
2238 #: build/C/man3/fdim.3:12
2239 msgid "fdim, fdimf, fdiml - positive difference"
2243 #: build/C/man3/fdim.3:14 build/C/man3/fmax.3:14 build/C/man3/fmin.3:14 build/C/man3/gamma.3:14 build/C/man3/ilogb.3:34 build/C/man3/logb.3:34 build/C/man3/nan.3:16 build/C/man3/nextafter.3:17 build/C/man3/scalb.3:33 build/C/man3/scalbln.3:33 build/C/man3/signbit.3:16 build/C/man3/significand.3:15 build/C/man3/tgamma.3:18
2244 msgid "B<#include E<lt>math.hE<gt>>"
2248 #: build/C/man3/fdim.3:16
2249 msgid "B<double fdim(double >I<x>B<, double >I<y>B<);>"
2253 #: build/C/man3/fdim.3:18
2254 msgid "B<float fdimf(float >I<x>B<, float >I<y>B<);>"
2258 #: build/C/man3/fdim.3:20
2259 msgid "B<long double fdiml(long double >I<x>B<, long double >I<y>B<);>"
2263 #: build/C/man3/fdim.3:31
2264 msgid "B<fdimf>(), B<fdiml>():"
2268 #: build/C/man3/fdim.3:42
2270 "These functions return the positive difference, max(I<x>-I<y>,0), between "
2275 #: build/C/man3/fdim.3:44
2276 msgid "On success, these functions return the positive difference."
2280 #: build/C/man3/fdim.3:50 build/C/man3/fma.3:63 build/C/man3/fmod.3:102 build/C/man3/nextafter.3:127 build/C/man3/remainder.3:130 build/C/man3/remquo.3:83
2281 msgid "If I<x> or I<y> is a NaN, a NaN is returned."
2285 #: build/C/man3/fdim.3:59 build/C/man3/hypot.3:122
2287 "If the result overflows, a range error occurs, and the functions return "
2288 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively."
2291 #. Unable to test this case, since the best approximation of
2292 #. pi/2 in double precision only yields a tan() value of 1.633e16.
2297 #: build/C/man3/fdim.3:74 build/C/man3/fma.3:141 build/C/man3/nextafter.3:165 build/C/man3/scalb.3:163 build/C/man3/scalbln.3:145 build/C/man3/tan.3:133
2298 msgid "An overflow floating-point exception (B<FE_OVERFLOW>) is raised."
2302 #: build/C/man3/fdim.3:89
2303 msgid "The B<fdim>(), B<fdimf>(), and B<fdiml>() functions are thread-safe."
2307 #: build/C/man3/fdim.3:93 build/C/man3/fmin.3:70
2312 #: build/C/man3/fenv.3:27
2318 #: build/C/man3/fenv.3:27
2324 #: build/C/man3/fenv.3:27 build/C/man7/math_error.7:26 build/C/man3/matherr.3:27
2330 #: build/C/man3/fenv.3:33
2332 "feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, "
2333 "fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, "
2334 "feupdateenv, feenableexcept, fedisableexcept, fegetexcept - floating-point "
2335 "rounding and exception handling"
2339 #: build/C/man3/fenv.3:36 build/C/man3/fenv.3:311
2341 msgid "B<#include E<lt>fenv.hE<gt>>\n"
2345 #: build/C/man3/fenv.3:38
2347 msgid "B<int feclearexcept(int >I<excepts>B<);>\n"
2351 #: build/C/man3/fenv.3:40
2353 msgid "B<int fegetexceptflag(fexcept_t *>I<flagp>B<, int >I<excepts>B<);>\n"
2357 #: build/C/man3/fenv.3:42
2359 msgid "B<int feraiseexcept(int >I<excepts>B<);>\n"
2363 #: build/C/man3/fenv.3:44
2365 msgid "B<int fesetexceptflag(const fexcept_t *>I<flagp>B<, int >I<excepts>B<);>\n"
2369 #: build/C/man3/fenv.3:46
2371 msgid "B<int fetestexcept(int >I<excepts>B<);>\n"
2375 #: build/C/man3/fenv.3:48
2377 msgid "B<int fegetround(void);>\n"
2381 #: build/C/man3/fenv.3:50
2383 msgid "B<int fesetround(int >I<rounding_mode>B<);>\n"
2387 #: build/C/man3/fenv.3:52
2389 msgid "B<int fegetenv(fenv_t *>I<envp>B<);>\n"
2393 #: build/C/man3/fenv.3:54
2395 msgid "B<int feholdexcept(fenv_t *>I<envp>B<);>\n"
2399 #: build/C/man3/fenv.3:56
2401 msgid "B<int fesetenv(const fenv_t *>I<envp>B<);>\n"
2405 #: build/C/man3/fenv.3:58
2407 msgid "B<int feupdateenv(const fenv_t *>I<envp>B<);>\n"
2411 #: build/C/man3/fenv.3:64
2413 "These eleven functions were defined in C99, and describe the handling of "
2414 "floating-point rounding and exceptions (overflow, zero-divide, etc.)."
2418 #: build/C/man3/fenv.3:64
2424 #: build/C/man3/fenv.3:69
2426 "The I<divide-by-zero> exception occurs when an operation on finite numbers "
2427 "produces infinity as exact answer."
2431 #: build/C/man3/fenv.3:75
2433 "The I<overflow> exception occurs when a result has to be represented as a "
2434 "floating-point number, but has (much) larger absolute value than the largest "
2435 "(finite) floating-point number that is representable."
2439 #: build/C/man3/fenv.3:82
2441 "The I<underflow> exception occurs when a result has to be represented as a "
2442 "floating-point number, but has smaller absolute value than the smallest "
2443 "positive normalized floating-point number (and would lose much accuracy when "
2444 "represented as a denormalized number)."
2448 #: build/C/man3/fenv.3:92
2450 "The I<inexact> exception occurs when the rounded result of an operation is "
2451 "not equal to the infinite precision result. It may occur whenever "
2452 "I<overflow> or I<underflow> occurs."
2456 #: build/C/man3/fenv.3:97
2458 "The I<invalid> exception occurs when there is no well-defined result for an "
2459 "operation, as for 0/0 or infinity - infinity or sqrt(-1)."
2463 #: build/C/man3/fenv.3:97
2465 msgid "Exception handling"
2469 #: build/C/man3/fenv.3:103
2471 "Exceptions are represented in two ways: as a single bit (exception "
2472 "present/absent), and these bits correspond in some implementation-defined "
2473 "way with bit positions in an integer, and also as an opaque structure that "
2474 "may contain more information about the exception (perhaps the code address "
2475 "where it occurred)."
2479 #: build/C/man3/fenv.3:119
2481 "Each of the macros B<FE_DIVBYZERO>, B<FE_INEXACT>, B<FE_INVALID>, "
2482 "B<FE_OVERFLOW>, B<FE_UNDERFLOW> is defined when the implementation supports "
2483 "handling of the corresponding exception, and if so then defines the "
2484 "corresponding bit(s), so that one can call exception handling functions, for "
2485 "example, using the integer argument B<FE_OVERFLOW>|B<FE_UNDERFLOW>. Other "
2486 "exceptions may be supported. The macro B<FE_ALL_EXCEPT> is the bitwise OR "
2487 "of all bits corresponding to supported exceptions."
2491 #: build/C/man3/fenv.3:124
2493 "The B<feclearexcept>() function clears the supported exceptions represented "
2494 "by the bits in its argument."
2498 #: build/C/man3/fenv.3:132
2500 "The B<fegetexceptflag>() function stores a representation of the state of "
2501 "the exception flags represented by the argument I<excepts> in the opaque "
2506 #: build/C/man3/fenv.3:137
2508 "The B<feraiseexcept>() function raises the supported exceptions represented "
2509 "by the bits in I<excepts>."
2513 #: build/C/man3/fenv.3:148
2515 "The B<fesetexceptflag>() function sets the complete status for the "
2516 "exceptions represented by I<excepts> to the value I<*flagp>. This value "
2517 "must have been obtained by an earlier call of B<fegetexceptflag>() with a "
2518 "last argument that contained all bits in I<excepts>."
2522 #: build/C/man3/fenv.3:155
2524 "The B<fetestexcept>() function returns a word in which the bits are set "
2525 "that were set in the argument I<excepts> and for which the corresponding "
2526 "exception is currently set."
2530 #: build/C/man3/fenv.3:155
2532 msgid "Rounding mode"
2536 #: build/C/man3/fenv.3:163
2538 "The rounding mode determines how the result of floating-point operations is "
2539 "treated when the result cannot be exactly represented in the significand. "
2540 "Various rounding modes may be provided: round to nearest (the default), "
2541 "round up (toward positive infinity), round down (toward negative infinity), "
2542 "and round toward zero."
2546 #: build/C/man3/fenv.3:172
2548 "Each of the macros B<FE_TONEAREST>, B<FE_UPWARD>, B<FE_DOWNWARD>, and "
2549 "B<FE_TOWARDZERO> is defined when the implementation supports getting and "
2550 "setting the corresponding rounding direction."
2554 #: build/C/man3/fenv.3:177
2556 "The B<fegetround>() function returns the macro corresponding to the current "
2561 #: build/C/man3/fenv.3:182
2563 "The B<fesetround>() function sets the rounding mode as specified by its "
2564 "argument and returns zero when it was successful."
2568 #: build/C/man3/fenv.3:190
2570 "C99 and POSIX.1-2008 specify an identifier, B<FLT_ROUNDS>, defined in "
2571 "I<E<lt>float.hE<gt>>, which indicates the implementation-defined rounding "
2572 "behavior for floating-point addition. This identifier has one of the "
2577 #: build/C/man3/fenv.3:190
2583 #: build/C/man3/fenv.3:192
2584 msgid "The rounding mode is not determinable."
2588 #: build/C/man3/fenv.3:192
2594 #: build/C/man3/fenv.3:194
2595 msgid "Rounding is toward 0."
2599 #: build/C/man3/fenv.3:194
2605 #: build/C/man3/fenv.3:196
2606 msgid "Rounding is toward nearest number."
2610 #: build/C/man3/fenv.3:196
2616 #: build/C/man3/fenv.3:198
2617 msgid "Rounding is toward positive infinity."
2621 #: build/C/man3/fenv.3:198
2627 #: build/C/man3/fenv.3:200
2628 msgid "Rounding is toward negative infinity."
2632 #: build/C/man3/fenv.3:202
2633 msgid "Other values represent machine-dependent, nonstandard rounding modes."
2637 #: build/C/man3/fenv.3:208
2639 "The value of B<FLT_ROUNDS> should reflect the current rounding mode as set "
2640 "by B<fesetround>() (but see BUGS)."
2644 #: build/C/man3/fenv.3:208
2646 msgid "Floating-point environment"
2650 #: build/C/man3/fenv.3:220
2652 "The entire floating-point environment, including control modes and status "
2653 "flags, can be handled as one opaque object, of type I<fenv_t>. The default "
2654 "environment is denoted by B<FE_DFL_ENV> (of type I<const fenv_t\\ *>). This "
2655 "is the environment setup at program start and it is defined by ISO C to have "
2656 "round to nearest, all exceptions cleared and a nonstop (continue on "
2661 #: build/C/man3/fenv.3:225
2663 "The B<fegetenv>() function saves the current floating-point environment in "
2664 "the object I<*envp>."
2668 #: build/C/man3/fenv.3:232
2670 "The B<feholdexcept>() function does the same, then clears all exception "
2671 "flags, and sets a nonstop (continue on exceptions) mode, if available. It "
2672 "returns zero when successful."
2676 #: build/C/man3/fenv.3:245
2678 "The B<fesetenv>() function restores the floating-point environment from the "
2679 "object I<*envp>. This object must be known to be valid, for example, the "
2680 "result of a call to B<fegetenv>() or B<feholdexcept>() or equal to "
2681 "B<FE_DFL_ENV>. This call does not raise exceptions."
2685 #: build/C/man3/fenv.3:258
2687 "The B<feupdateenv>() function installs the floating-point environment "
2688 "represented by the object I<*envp>, except that currently raised exceptions "
2689 "are not cleared. After calling this function, the raised exceptions will be "
2690 "a bitwise OR of those previously set with those in I<*envp>. As before, the "
2691 "object I<*envp> must be known to be valid."
2694 #. Earlier seven of these functions were listed as returning void.
2695 #. This was corrected in Corrigendum 1 (ISO/IEC 9899:1999/Cor.1:2001(E))
2696 #. of the C99 Standard.
2698 #: build/C/man3/fenv.3:263
2699 msgid "These functions return zero on success and nonzero if an error occurred."
2703 #: build/C/man3/fenv.3:284
2705 "The B<feclearexcept>(), B<fegetexceptflag>(), B<fegetexceptflag>(), "
2706 "B<fesetexceptflag>(), B<fetestexcept>(), B<fegetround>(), B<fesetround>(), "
2707 "B<fegetenv>(), B<feholdexcept>(), B<fesetenv>(), B<feupdateenv>(), "
2708 "B<feenableexcept>(), B<fedisableexcept>(), and B<fegetexcept>() functions "
2713 #: build/C/man3/fenv.3:286
2714 msgid "IEC 60559 (IEC 559:1989), ANSI/IEEE 854, C99, POSIX.1-2001."
2718 #: build/C/man3/fenv.3:287
2724 #: build/C/man3/fenv.3:306
2726 "If possible, the GNU C Library defines a macro B<FE_NOMASK_ENV> which "
2727 "represents an environment where every exception raised causes a trap to "
2728 "occur. You can test for this macro using B<#ifdef>. It is defined only if "
2729 "B<_GNU_SOURCE> is defined. The C99 standard does not define a way to set "
2730 "individual bits in the floating-point mask, for example, to trap on specific "
2731 "flags. Since version 2.2, glibc supports the functions B<feenableexcept>() "
2732 "and B<fedisableexcept>() to set individual floating-point traps, and "
2733 "B<fegetexcept>() to query the state."
2737 #: build/C/man3/fenv.3:313
2739 msgid "B<int feenableexcept(int >I<excepts>B<);>\n"
2743 #: build/C/man3/fenv.3:315
2745 msgid "B<int fedisableexcept(int >I<excepts>B<);>\n"
2749 #: build/C/man3/fenv.3:317
2751 msgid "B<int fegetexcept(void);>\n"
2755 #: build/C/man3/fenv.3:331
2757 "The B<feenableexcept>() and B<fedisableexcept>() functions enable "
2758 "(disable) traps for each of the exceptions represented by I<excepts> and "
2759 "return the previous set of enabled exceptions when successful, and -1 "
2760 "otherwise. The B<fegetexcept>() function returns the set of all currently "
2761 "enabled exceptions."
2764 #. Aug 08, glibc 2.8
2765 #. See http://gcc.gnu.org/ml/gcc/2002-02/msg01535.html
2767 #: build/C/man3/fenv.3:342
2769 "C99 specifies that the value of B<FLT_ROUNDS> should reflect changes to the "
2770 "current rounding mode, as set by B<fesetround>(). Currently, this does not "
2771 "occur: B<FLT_ROUNDS> always has the value 1."
2775 #: build/C/man3/fenv.3:344
2776 msgid "B<math_error>(7)"
2780 #: build/C/man3/finite.3:25
2786 #: build/C/man3/finite.3:25
2792 #: build/C/man3/finite.3:29
2794 "finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl - BSD "
2795 "floating-point classification functions"
2799 #: build/C/man3/finite.3:34
2801 msgid "B<int finite(double >I<x>B<);>\n"
2805 #: build/C/man3/finite.3:36
2807 msgid "B<int finitef(float >I<x>B<);>\n"
2811 #: build/C/man3/finite.3:38
2813 msgid "B<int finitel(long double >I<x>B<);>\n"
2817 #: build/C/man3/finite.3:40
2819 msgid "B<int isinf(double >I<x>B<);>\n"
2823 #: build/C/man3/finite.3:42
2825 msgid "B<int isinff(float >I<x>B<);>\n"
2829 #: build/C/man3/finite.3:44
2831 msgid "B<int isinfl(long double >I<x>B<);>\n"
2835 #: build/C/man3/finite.3:46
2837 msgid "B<int isnan(double >I<x>B<);>\n"
2841 #: build/C/man3/finite.3:48
2843 msgid "B<int isnanf(float >I<x>B<);>\n"
2847 #: build/C/man3/finite.3:50
2849 msgid "B<int isnanl(long double >I<x>B<);>\n"
2853 #: build/C/man3/finite.3:61
2854 msgid "B<finite>(), B<finitef>(), B<finitel>():"
2858 #: build/C/man3/finite.3:63 build/C/man3/finite.3:76 build/C/man3/lgamma.3:65
2859 msgid "_BSD_SOURCE || _SVID_SOURCE"
2863 #: build/C/man3/finite.3:65 build/C/man3/fpclassify.3:58
2868 #: build/C/man3/finite.3:67
2870 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600 || "
2875 #: build/C/man3/finite.3:74
2876 msgid "B<isinff>(), B<isinfl>():"
2880 #: build/C/man3/finite.3:78 build/C/man3/fpclassify.3:50
2885 #: build/C/man3/finite.3:80
2886 msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE;"
2890 #: build/C/man3/finite.3:86
2891 msgid "B<isnanf>(), B<isnanl>():"
2895 #: build/C/man3/finite.3:88 build/C/man3/gamma.3:38 build/C/man3/scalb.3:58
2896 msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600"
2900 #: build/C/man3/finite.3:100
2902 "The B<finite>(), B<finitef>(), and B<finitel>() functions return a nonzero "
2903 "value if I<x> is neither infinite nor a \"not-a-number\" (NaN) value, and 0 "
2908 #: build/C/man3/finite.3:110
2910 "The B<isnan>(), B<isnanf>(), and B<isnanl>() functions return a nonzero "
2911 "value if I<x> is a NaN value, and 0 otherwise."
2915 #: build/C/man3/finite.3:121
2917 "The B<isinf>(), B<isinff>(), and B<isinfl>() functions return 1 if I<x> is "
2918 "positive infinity, -1 if I<x> is negative infinity, and 0 otherwise."
2922 #: build/C/man3/finite.3:135
2924 "The B<finite>(), B<finitef>(), B<finitel>(), B<isinf>(), B<isinff>(), "
2925 "B<isinfl>(), B<isnan>(), B<isnanf>(), and B<isnanl>() functions are "
2930 #. finite* not on HP-UX; they exist on Tru64.
2934 #. function occurs in 4.3BSD.
2935 #. see IEEE.3 in the 4.3BSD manual
2937 #: build/C/man3/finite.3:155
2939 "Note that these functions are obsolete. C99 defines macros B<isfinite>(), "
2940 "B<isinf>(), and B<isnan>() (for all types) replacing them. Further note "
2941 "that the C99 B<isinf>() has weaker guarantees on the return value. See "
2946 #: build/C/man3/finite.3:157
2947 msgid "B<fpclassify>(3)"
2951 #: build/C/man3/floor.3:27
2957 #: build/C/man3/floor.3:27
2963 #: build/C/man3/floor.3:30
2964 msgid "floor, floorf, floorl - largest integral value not greater than argument"
2968 #: build/C/man3/floor.3:35
2970 msgid "B<double floor(double >I<x>B<);>\n"
2974 #: build/C/man3/floor.3:37
2976 msgid "B<float floorf(float >I<x>B<);>\n"
2980 #: build/C/man3/floor.3:39
2982 msgid "B<long double floorl(long double >I<x>B<);>\n"
2986 #: build/C/man3/floor.3:51
2987 msgid "B<floorf>(), B<floorl>():"
2991 #: build/C/man3/floor.3:62
2993 "These functions return the largest integral value that is not greater than "
2998 #: build/C/man3/floor.3:68
2999 msgid "For example, I<floor(0.5)> is 0.0, and I<floor(-0.5)> is -1.0."
3003 #: build/C/man3/floor.3:71
3004 msgid "These functions return the floor of I<x>."
3008 #: build/C/man3/floor.3:77
3009 msgid "If I<x> is integral, +0, -0, NaN, or an infinity, I<x> itself is returned."
3013 #: build/C/man3/floor.3:88
3014 msgid "The B<floor>(), B<floorf>(), and B<floorl>() functions are thread-safe."
3018 #: build/C/man3/floor.3:117
3020 "B<ceil>(3), B<lrint>(3), B<nearbyint>(3), B<rint>(3), B<round>(3), "
3025 #: build/C/man3/fma.3:12
3031 #: build/C/man3/fma.3:12 build/C/man3/fmax.3:9 build/C/man3/fmin.3:9
3037 #: build/C/man3/fma.3:15
3038 msgid "fma, fmaf, fmal - floating-point multiply and add"
3042 #: build/C/man3/fma.3:20
3044 msgid "B<double fma(double >I<x>B<, double >I<y>B<, double >I<z>B<);>\n"
3048 #: build/C/man3/fma.3:22
3050 msgid "B<float fmaf(float >I<x>B<, float >I<y>B<, float >I<z>B<);>\n"
3054 #: build/C/man3/fma.3:24
3057 "B<long double fmal(long double >I<x>B<, long double >I<y>B<, long double "
3062 #: build/C/man3/fma.3:37
3063 msgid "B<fma>(), B<fmaf>(), B<fmal>():"
3067 #: build/C/man3/fma.3:53
3069 "The B<fma>() function computes I<x> * I<y> + I<z>. The result is rounded "
3070 "as one ternary operation according to the current rounding mode (see "
3075 #: build/C/man3/fma.3:57
3077 "These functions return the value of I<x> * I<y> + I<z>, rounded as one "
3078 "ternary operation."
3082 #: build/C/man3/fma.3:73
3084 "If I<x> times I<y> is an exact infinity, and I<z> is an infinity with the "
3085 "opposite sign, a domain error occurs, and a NaN is returned."
3088 #. POSIX.1-2008 allows some possible differences for the following two
3089 #. domain error cases, but on Linux they are treated the same (AFAICS).
3090 #. Nevertheless, we'll mirror POSIX.1 and describe the two cases
3092 #. POSIX.1 says that a NaN or an implementation-defined value shall
3093 #. be returned for this case.
3095 #: build/C/man3/fma.3:89
3097 "If one of I<x> or I<y> is an infinity, the other is 0, and I<z> is not a "
3098 "NaN, a domain error occurs, and a NaN is returned."
3101 #. POSIX.1 makes the domain error optional for this case.
3103 #: build/C/man3/fma.3:100
3105 "If one of I<x> or I<y> is an infinity, and the other is 0, and I<z> is a "
3106 "NaN, a domain error occurs, and a NaN is returned."
3110 #: build/C/man3/fma.3:109
3112 "If I<x> times I<y> is not an infinity times zero (or vice versa), and I<z> "
3113 "is a NaN, a NaN is returned."
3117 #: build/C/man3/fma.3:113
3119 "If the result overflows, a range error occurs, and an infinity with the "
3120 "correct sign is returned."
3124 #: build/C/man3/fma.3:117
3125 msgid "If the result underflows, a range error occurs, and a signed 0 is returned."
3129 #: build/C/man3/fma.3:124
3132 "Domain error: I<x> * I<y> + I<z>, or I<x> * I<y> is invalid and I<z> is not "
3140 #: build/C/man3/fma.3:133 build/C/man3/ilogb.3:125 build/C/man3/log1p.3:128 build/C/man3/lrint.3:103 build/C/man3/lround.3:106 build/C/man3/remainder.3:165 build/C/man3/remquo.3:117 build/C/man3/scalb.3:155 build/C/man3/sincos.3:67
3141 msgid "An invalid floating-point exception (B<FE_INVALID>) is raised."
3145 #: build/C/man3/fma.3:141 build/C/man3/hypot.3:143 build/C/man3/tgamma.3:143 build/C/man3/y0.3:201
3147 msgid "Range error: result underflow"
3151 #: build/C/man3/fma.3:164
3152 msgid "The B<fma>(), B<fmaf>(), and B<fmal>() functions are thread-safe."
3156 #: build/C/man3/fma.3:169
3157 msgid "B<remainder>(3), B<remquo>(3)"
3161 #: build/C/man3/fmax.3:9
3167 #: build/C/man3/fmax.3:12
3168 msgid "fmax, fmaxf, fmaxl - determine maximum of two floating-point numbers"
3172 #: build/C/man3/fmax.3:16
3173 msgid "B<double fmax(double >I<x>B<, double >I<y>B<);>"
3177 #: build/C/man3/fmax.3:18
3178 msgid "B<float fmaxf(float >I<x>B<, float >I<y>B<);>"
3182 #: build/C/man3/fmax.3:20
3183 msgid "B<long double fmaxl(long double >I<x>B<, long double >I<y>B<);>"
3187 #: build/C/man3/fmax.3:32
3188 msgid "B<fmax>(), B<fmaxf>(), B<fmaxl>():"
3192 #: build/C/man3/fmax.3:45
3193 msgid "These functions return the larger value of I<x> and I<y>."
3197 #: build/C/man3/fmax.3:50
3198 msgid "These functions return the maximum of I<x> and I<y>."
3202 #: build/C/man3/fmax.3:52 build/C/man3/fmin.3:52
3203 msgid "If one argument is a NaN, the other argument is returned."
3207 #: build/C/man3/fmax.3:54 build/C/man3/fmin.3:54
3208 msgid "If both arguments are NaN, a NaN is returned."
3212 #: build/C/man3/fmax.3:66
3213 msgid "The B<fmax>(), B<fmaxf>(), and B<fmaxl>() functions are thread-safe."
3217 #: build/C/man3/fmax.3:70
3222 #: build/C/man3/fmin.3:9
3228 #: build/C/man3/fmin.3:12
3229 msgid "fmin, fminf, fminl - determine minimum of two floating-point numbers"
3233 #: build/C/man3/fmin.3:16
3234 msgid "B<double fmin(double >I<x>B<, double >I<y>B<);>"
3238 #: build/C/man3/fmin.3:18
3239 msgid "B<float fminf(float >I<x>B<, float >I<y>B<);>"
3243 #: build/C/man3/fmin.3:20
3244 msgid "B<long double fminl(long double >I<x>B<, long double >I<y>B<);>"
3248 #: build/C/man3/fmin.3:32
3249 msgid "B<fmin>(), B<fminf>(), B<fminl>():"
3253 #: build/C/man3/fmin.3:45
3254 msgid "These functions return the lesser value of I<x> and I<y>."
3258 #: build/C/man3/fmin.3:50
3259 msgid "These functions return the minimum of I<x> and I<y>."
3263 #: build/C/man3/fmin.3:66
3264 msgid "The B<fmin>(), B<fminf>(), and B<fminl>() functions are thread-safe."
3268 #: build/C/man3/fmod.3:35
3274 #: build/C/man3/fmod.3:35
3280 #: build/C/man3/fmod.3:38
3281 msgid "fmod, fmodf, fmodl - floating-point remainder function"
3285 #: build/C/man3/fmod.3:43
3287 msgid "B<double fmod(double >I<x>B<, double >I<y>B<);>\n"
3291 #: build/C/man3/fmod.3:45
3293 msgid "B<float fmodf(float >I<x>B<, float >I<y>B<);>\n"
3297 #: build/C/man3/fmod.3:47
3299 msgid "B<long double fmodl(long double >I<x>B<, long double >I<y>B<);>\n"
3303 #: build/C/man3/fmod.3:59
3304 msgid "B<fmodf>(), B<fmodl>():"
3308 #: build/C/man3/fmod.3:87
3310 "The B<fmod>() function computes the floating-point remainder of dividing "
3311 "I<x> by I<y>. The return value is I<x> - I<n> * I<y>, where I<n> is the "
3312 "quotient of I<x> / I<y>, rounded toward zero to an integer."
3316 #: build/C/man3/fmod.3:96
3318 "On success, these functions return the value I<x>\\ -\\ I<n>*I<y>, for some "
3319 "integer I<n>, such that the returned value has the same sign as I<x> and a "
3320 "magnitude less than the magnitude of I<y>."
3324 #: build/C/man3/fmod.3:108
3325 msgid "If I<x> is an infinity, a domain error occurs, and a NaN is returned."
3329 #: build/C/man3/fmod.3:114
3330 msgid "If I<y> is zero, a domain error occurs, and a NaN is returned."
3334 #: build/C/man3/fmod.3:120
3335 msgid "If I<x> is +0 (-0), and I<y> is not zero, +0 (-0) is returned."
3338 #. [XXX see bug above] and \fIx\fP is not a NaN
3340 #: build/C/man3/fmod.3:136 build/C/man3/remainder.3:172
3342 msgid "Domain error: I<y> is zero"
3345 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6784
3347 #: build/C/man3/fmod.3:160
3349 "Before version 2.10, the glibc implementation did not set I<errno> to "
3350 "B<EDOM> when a domain error occurred for an infinite I<x>."
3354 #: build/C/man3/fmod.3:162
3355 msgid "B<remainder>(3)"
3359 #: build/C/man3/fpclassify.3:10
3365 #: build/C/man3/fpclassify.3:10 build/C/man3/frexp.3:33 build/C/man3/ilogb.3:29
3371 #: build/C/man3/fpclassify.3:14
3373 "fpclassify, isfinite, isnormal, isnan, isinf - floating-point classification "
3378 #: build/C/man3/fpclassify.3:19
3380 msgid "B<int fpclassify(>I<x>B<);>\n"
3384 #: build/C/man3/fpclassify.3:21
3386 msgid "B<int isfinite(>I<x>B<);>\n"
3390 #: build/C/man3/fpclassify.3:23
3392 msgid "B<int isnormal(>I<x>B<);>\n"
3396 #: build/C/man3/fpclassify.3:25
3398 msgid "B<int isnan(>I<x>B<);>\n"
3402 #: build/C/man3/fpclassify.3:27
3404 msgid "B<int isinf(>I<x>B<);>\n"
3408 #: build/C/man3/fpclassify.3:42
3409 msgid "B<fpclassify>(), B<isfinite>(), B<isnormal>():"
3413 #: build/C/man3/fpclassify.3:76
3415 "Floating point numbers can have special values, such as infinite or NaN. "
3416 "With the macro B<fpclassify(>I<x>B<)> you can find out what type I<x> is. "
3417 "The macro takes any floating-point expression as argument. The result is "
3418 "one of the following values:"
3422 #: build/C/man3/fpclassify.3:76
3428 #: build/C/man3/fpclassify.3:80
3429 msgid "I<x> is \"Not a Number\"."
3433 #: build/C/man3/fpclassify.3:80
3435 msgid "B<FP_INFINITE>"
3439 #: build/C/man3/fpclassify.3:84
3440 msgid "I<x> is either positive infinity or negative infinity."
3444 #: build/C/man3/fpclassify.3:84
3450 #: build/C/man3/fpclassify.3:88
3451 msgid "I<x> is zero."
3455 #: build/C/man3/fpclassify.3:88
3457 msgid "B<FP_SUBNORMAL>"
3461 #: build/C/man3/fpclassify.3:92
3462 msgid "I<x> is too small to be represented in normalized format."
3466 #: build/C/man3/fpclassify.3:92
3468 msgid "B<FP_NORMAL>"
3472 #: build/C/man3/fpclassify.3:96
3474 "if nothing of the above is correct then it must be a normal floating-point "
3479 #: build/C/man3/fpclassify.3:98
3480 msgid "The other macros provide a short answer to some standard questions."
3484 #: build/C/man3/fpclassify.3:98
3486 msgid "B<isfinite(>I<x>B<)>"
3490 #: build/C/man3/fpclassify.3:101
3491 msgid "returns a nonzero value if"
3495 #: build/C/man3/fpclassify.3:103
3496 msgid "(fpclassify(x) != FP_NAN && fpclassify(x) != FP_INFINITE)"
3500 #: build/C/man3/fpclassify.3:103
3502 msgid "B<isnormal(>I<x>B<)>"
3506 #: build/C/man3/fpclassify.3:107
3507 msgid "returns a nonzero value if (fpclassify(x) == FP_NORMAL)"
3511 #: build/C/man3/fpclassify.3:107
3513 msgid "B<isnan(>I<x>B<)>"
3517 #: build/C/man3/fpclassify.3:111
3518 msgid "returns a nonzero value if (fpclassify(x) == FP_NAN)"
3522 #: build/C/man3/fpclassify.3:111
3524 msgid "B<isinf(>I<x>B<)>"
3528 #: build/C/man3/fpclassify.3:118
3529 msgid "returns 1 if I<x> is positive infinity, and -1 if I<x> is negative infinity."
3533 #: build/C/man3/fpclassify.3:128
3535 "The B<fpclassify>(), B<isfinite>(), B<isnormal>(), B<isnan>(), and "
3536 "B<isinf>() macros are thread-safe."
3540 #: build/C/man3/fpclassify.3:130
3541 msgid "C99, POSIX.1."
3545 #: build/C/man3/fpclassify.3:135
3547 "For B<isinf>(), the standards merely say that the return value is nonzero if "
3548 "and only if the argument has an infinite value."
3552 #: build/C/man3/fpclassify.3:142
3554 "In glibc 2.01 and earlier, B<isinf>() returns a nonzero value (actually: 1) "
3555 "if I<x> is positive infinity or negative infinity. (This is all that C99 "
3560 #: build/C/man3/fpclassify.3:147
3561 msgid "B<finite>(3), B<INFINITY>(3), B<isgreater>(3), B<signbit>(3)"
3565 #: build/C/man3/frexp.3:33
3571 #: build/C/man3/frexp.3:37
3573 "frexp, frexpf, frexpl - convert floating-point number to fractional and "
3574 "integral components"
3578 #: build/C/man3/frexp.3:42
3580 msgid "B<double frexp(double >I<x>B<, int *>I<exp>B<);>\n"
3584 #: build/C/man3/frexp.3:44
3586 msgid "B<float frexpf(float >I<x>B<, int *>I<exp>B<);>\n"
3590 #: build/C/man3/frexp.3:46
3592 msgid "B<long double frexpl(long double >I<x>B<, int *>I<exp>B<);>\n"
3596 #: build/C/man3/frexp.3:58
3597 msgid "B<frexpf>(), B<frexpl>():"
3601 #: build/C/man3/frexp.3:74
3603 "The B<frexp>() function is used to split the number I<x> into a normalized "
3604 "fraction and an exponent which is stored in I<exp>."
3608 #: build/C/man3/frexp.3:86
3610 "The B<frexp>() function returns the normalized fraction. If the argument "
3611 "I<x> is not zero, the normalized fraction is I<x> times a power of two, and "
3612 "its absolute value is always in the range 1/2 (inclusive) to 1 (exclusive), "
3617 #: build/C/man3/frexp.3:92
3619 "If I<x> is zero, then the normalized fraction is zero and zero is stored in "
3624 #: build/C/man3/frexp.3:99
3626 "If I<x> is a NaN, a NaN is returned, and the value of I<*exp> is "
3631 #: build/C/man3/frexp.3:106
3633 "If I<x> is positive infinity (negative infinity), positive infinity "
3634 "(negative infinity) is returned, and the value of I<*exp> is unspecified."
3638 #: build/C/man3/frexp.3:116
3639 msgid "The B<frexp>(), B<frexpf>(), and B<frexpl>() functions are thread-safe."
3643 #: build/C/man3/frexp.3:124
3644 msgid "The program below produces results such as the following:"
3648 #: build/C/man3/frexp.3:131
3651 "$B< ./a.out 2560>\n"
3652 "frexp(2560, &e) = 0.625: 0.625 * 2^12 = 2560\n"
3654 "frexp(-4, &e) = -0.5: -0.5 * 2^3 = -4\n"
3658 #: build/C/man3/frexp.3:133 build/C/man3/matherr.3:360
3660 msgid "Program source"
3664 #: build/C/man3/frexp.3:140
3667 "#include E<lt>math.hE<gt>\n"
3668 "#include E<lt>float.hE<gt>\n"
3669 "#include E<lt>stdio.hE<gt>\n"
3670 "#include E<lt>stdlib.hE<gt>\n"
3674 #: build/C/man3/frexp.3:146
3678 "main(int argc, char *argv[])\n"
3685 #: build/C/man3/frexp.3:149
3688 " x = strtod(argv[1], NULL);\n"
3689 " r = frexp(x, &exp);\n"
3693 #: build/C/man3/frexp.3:154
3696 " printf(\"frexp(%g, &e) = %g: %g * %d^%d = %g\\en\",\n"
3697 " x, r, r, FLT_RADIX, exp, x);\n"
3698 " exit(EXIT_SUCCESS);\n"
3703 #: build/C/man3/frexp.3:158
3704 msgid "B<ldexp>(3), B<modf>(3)"
3708 #: build/C/man3/gamma.3:9
3714 #: build/C/man3/gamma.3:9
3720 #: build/C/man3/gamma.3:12
3721 msgid "gamma, gammaf, gammal - (logarithm of the) gamma function"
3725 #: build/C/man3/gamma.3:16
3726 msgid "B<double gamma(double >I<x>B<);>"
3730 #: build/C/man3/gamma.3:18
3731 msgid "B<float gammaf(float >I<x>B<);>"
3735 #: build/C/man3/gamma.3:20
3736 msgid "B<long double gammal(long double >I<x>B<);>"
3740 #: build/C/man3/gamma.3:30
3745 #: build/C/man3/gamma.3:32 build/C/man3/lgamma.3:69
3746 msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE"
3750 #: build/C/man3/gamma.3:35
3751 msgid "B<gammaf>(), B<gammal>():"
3755 #: build/C/man3/gamma.3:46
3757 "These functions are deprecated: instead, use either the B<tgamma>(3) or the "
3758 "B<lgamma>(3) functions, as appropriate."
3762 #: build/C/man3/gamma.3:49 build/C/man3/lgamma.3:74
3763 msgid "For the definition of the Gamma function, see B<tgamma>(3)."
3767 #: build/C/man3/gamma.3:49
3769 msgid "*BSD version"
3773 #: build/C/man3/gamma.3:53
3775 "The libm in 4.4BSD and some versions of FreeBSD had a B<gamma>() function "
3776 "that computes the Gamma function, as one would expect."
3780 #: build/C/man3/gamma.3:53
3782 msgid "glibc version"
3786 #: build/C/man3/gamma.3:59
3788 "Glibc has a B<gamma>() function that is equivalent to B<lgamma>(3) and "
3789 "computes the natural logarithm of the Gamma function."
3793 #: build/C/man3/gamma.3:62 build/C/man3/gamma.3:65
3794 msgid "See B<lgamma>(3)."
3798 #: build/C/man3/gamma.3:68
3800 "Because of historical variations in behavior across systems, this function "
3801 "is not specified in any standard."
3805 #: build/C/man3/gamma.3:69
3811 #: build/C/man3/gamma.3:81
3813 "4.2BSD had a B<gamma>() that computed ln(|Gamma(|I<x>|)|), leaving the sign "
3814 "of Gamma(|I<x>|) in the external integer I<signgam>. In 4.3BSD the name "
3815 "was changed to B<lgamma>(3), and the man page promises"
3819 #: build/C/man3/gamma.3:85
3821 "At some time in the future the name gamma will be rehabilitated and used for "
3822 "the Gamma function"
3825 #. The FreeBSD man page says about gamma() that it is like lgamma()
3826 #. except that is does not set signgam.
3827 #. Also, that 4.4BSD has a gamma() that computes the true gamma function.
3829 #: build/C/man3/gamma.3:97
3831 "This did indeed happen in 4.4BSD, where B<gamma>() computes the Gamma "
3832 "function (with no effect on I<signgam>). However, this came too late, and "
3833 "we now have B<tgamma>(3), the \"true gamma\" function."
3837 #: build/C/man3/gamma.3:101
3838 msgid "B<lgamma>(3), B<signgam>(3), B<tgamma>(3)"
3842 #: build/C/man3/hypot.3:33
3848 #: build/C/man3/hypot.3:36
3849 msgid "hypot, hypotf, hypotl - Euclidean distance function"
3853 #: build/C/man3/hypot.3:41
3855 msgid "B<double hypot(double >I<x>B<, double >I<y>B<);>\n"
3859 #: build/C/man3/hypot.3:43
3861 msgid "B<float hypotf(float >I<x>B<, float >I<y>B<);>\n"
3865 #: build/C/man3/hypot.3:45
3867 msgid "B<long double hypotl(long double >I<x>B<, long double >I<y>B<);>\n"
3871 #: build/C/man3/hypot.3:56
3876 #: build/C/man3/hypot.3:66
3877 msgid "B<hypotf>(), B<hypotl>():"
3881 #: build/C/man3/hypot.3:87
3883 "The B<hypot>() function returns sqrt(I<x>*I<x>+I<y>*I<y>). This is the "
3884 "length of the hypotenuse of a right-angled triangle with sides of length "
3885 "I<x> and I<y>, or the distance of the point (I<x>,I<y>) from the origin."
3888 #. e.g., hypot(DBL_MIN, DBL_MIN) does the right thing, as does, say
3889 #. hypot(DBL_MAX/2.0, DBL_MAX/2.0).
3891 #: build/C/man3/hypot.3:92
3893 "The calculation is performed without undue overflow or underflow during the "
3894 "intermediate steps of the calculation."
3898 #: build/C/man3/hypot.3:98
3900 "On success, these functions return the length of a right-angled triangle "
3901 "with sides of length I<x> and I<y>."
3905 #: build/C/man3/hypot.3:105
3906 msgid "If I<x> or I<y> is an infinity, positive infinity is returned."
3910 #: build/C/man3/hypot.3:113
3912 "If I<x> or I<y> is a NaN, and the other argument is not an infinity, a NaN "
3916 #. Actually, could the result not be subnormal if both arguments
3917 #. are subnormal? I think not -- mtk, Jul 2008
3919 #: build/C/man3/hypot.3:128
3921 "If both arguments are subnormal, and the result is subnormal, a range error "
3922 "occurs, and the correct result is returned."
3925 #. FIXME . Is it intentional that these functions do not set errno?
3926 #. They do set errno for the y == 0 case, below.
3927 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6783
3929 #: build/C/man3/hypot.3:158 build/C/man3/ilogb.3:130 build/C/man3/remainder.3:172
3930 msgid "These functions do not set I<errno> for this case."
3934 #: build/C/man3/hypot.3:167
3935 msgid "B<cabs>(3), B<sqrt>(3)"
3939 #: build/C/man3/ilogb.3:29
3945 #: build/C/man3/ilogb.3:32
3946 msgid "ilogb, ilogbf, ilogbl - get integer exponent of a floating-point value"
3950 #: build/C/man3/ilogb.3:36
3951 msgid "B<int ilogb(double >I<x>B<);>"
3955 #: build/C/man3/ilogb.3:38
3956 msgid "B<int ilogbf(float >I<x>B<);>"
3960 #: build/C/man3/ilogb.3:40
3961 msgid "B<int ilogbl(long double >I<x>B<);>"
3965 #: build/C/man3/ilogb.3:50
3970 #: build/C/man3/ilogb.3:62
3971 msgid "B<ilogbf>(), B<ilogbl>():"
3975 #: build/C/man3/ilogb.3:78
3977 "These functions return the exponent part of their argument as a signed "
3978 "integer. When no error occurs, these functions are equivalent to the "
3979 "corresponding B<logb>(3) functions, cast to I<int>."
3983 #: build/C/man3/ilogb.3:82
3985 "On success, these functions return the exponent of I<x>, as a signed "
3989 #. the POSIX.1 spec for logb() says logb() gives pole error for this
3990 #. case, but for ilogb() it says domain error.
3991 #. glibc: The numeric value is either `INT_MIN' or `-INT_MAX'.
3993 #: build/C/man3/ilogb.3:90
3995 "If I<x> is zero, then a domain error occurs, and the functions return "
3999 #. glibc: The numeric value is either `INT_MIN' or `INT_MAX'.
4000 #. On i386, FP_ILOGB0 and FP_ILOGBNAN have the same value.
4002 #: build/C/man3/ilogb.3:97
4004 "If I<x> is a NaN, then a domain error occurs, and the functions return "
4009 #. POSIX.1-2001 also says:
4010 #. If the correct value is greater than {INT_MAX}, {INT_MAX}
4011 #. shall be returned and a domain error shall occur.
4013 #. If the correct value is less than {INT_MIN}, {INT_MIN}
4014 #. shall be returned and a domain error shall occur.
4016 #: build/C/man3/ilogb.3:110
4018 "If I<x> is negative infinity or positive infinity, then a domain error "
4019 "occurs, and the functions return B<INT_MAX>."
4023 #: build/C/man3/ilogb.3:117
4025 msgid "Domain error: I<x> is 0 or a NaN"
4028 #. FIXME . Is it intentional that these functions do not set errno,
4029 #. or raise an exception?
4030 #. log(), log2(), log10() do set errno
4031 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6794
4033 #: build/C/man3/ilogb.3:146
4034 msgid "These functions do not set I<errno> or raise an exception for this case."
4038 #: build/C/man3/ilogb.3:154
4039 msgid "The B<ilogb>(), B<ilogbf>(), and B<ilogbl>() functions are thread-safe."
4043 #: build/C/man3/ilogb.3:160
4044 msgid "B<log>(3), B<logb>(3), B<significand>(3)"
4048 #: build/C/man3/infnan.3:33
4054 #: build/C/man3/infnan.3:33
4060 #: build/C/man3/infnan.3:36
4061 msgid "infnan - deal with infinite or not-a-number (NaN) result"
4065 #: build/C/man3/infnan.3:41
4067 msgid "B<double infnan(int >I<error>B<);>\n"
4071 #: build/C/man3/infnan.3:56
4073 "The B<infnan>() function returns a suitable value for infinity and "
4074 "\"not-a-number\" (NaN) results. The value of I<error> can be B<ERANGE> to "
4075 "represent infinity or anything else to represent NaN. I<errno> is also set."
4079 #: build/C/man3/infnan.3:64
4080 msgid "If I<error> is B<ERANGE> (Infinity), B<HUGE_VAL> is returned."
4084 #: build/C/man3/infnan.3:72
4085 msgid "If I<error> is -B<ERANGE> (-Infinity), -B<HUGE_VAL> is returned."
4089 #: build/C/man3/infnan.3:76
4090 msgid "If I<error> is anything else, NAN is returned."
4094 #: build/C/man3/infnan.3:77
4100 #: build/C/man3/infnan.3:82
4101 msgid "The value of I<error> is \"not-a-number\" (NaN)."
4105 #: build/C/man3/infnan.3:82
4111 #: build/C/man3/infnan.3:87
4112 msgid "The value of I<error> is positive infinity or negative infinity."
4116 #: build/C/man3/infnan.3:89
4121 #: build/C/man3/infnan.3:92
4123 "This obsolete function was provided in libc4 and libc5, but is not available "
4128 #: build/C/man3/isgreater.3:10
4134 #: build/C/man3/isgreater.3:10
4140 #: build/C/man3/isgreater.3:14
4142 "isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered - "
4143 "floating-point relational tests without exception for NaN"
4147 #: build/C/man3/isgreater.3:19
4149 msgid "B<int isgreater(>I<x>B<, >I<y>B<);>\n"
4153 #: build/C/man3/isgreater.3:21
4155 msgid "B<int isgreaterequal(>I<x>B<, >I<y>B<);>\n"
4159 #: build/C/man3/isgreater.3:23
4161 msgid "B<int isless(>I<x>B<, >I<y>B<);>\n"
4165 #: build/C/man3/isgreater.3:25
4167 msgid "B<int islessequal(>I<x>B<, >I<y>B<);>\n"
4171 #: build/C/man3/isgreater.3:27
4173 msgid "B<int islessgreater(>I<x>B<, >I<y>B<);>\n"
4177 #: build/C/man3/isgreater.3:29
4179 msgid "B<int isunordered(>I<x>B<, >I<y>B<);>\n"
4183 #: build/C/man3/isgreater.3:40
4184 msgid "All functions described here:"
4188 #: build/C/man3/isgreater.3:55
4190 "The normal relation operations (like B<E<lt>>, \"less than\") will fail if "
4191 "one of the operands is NaN. This will cause an exception. To avoid this, "
4192 "C99 defines the macros listed below."
4196 #: build/C/man3/isgreater.3:61
4198 "These macros are guaranteed to evaluate their arguments only once. The "
4199 "arguments must be of real floating-point type (note: do not pass integer "
4200 "values as arguments to these macros, since the arguments will I<not> be "
4201 "promoted to real-floating types)."
4205 #: build/C/man3/isgreater.3:61
4207 msgid "B<isgreater>()"
4211 #: build/C/man3/isgreater.3:69
4212 msgid "determines I<(x)\\ E<gt>\\ (y)> without an exception if I<x> or I<y> is NaN."
4216 #: build/C/man3/isgreater.3:69
4218 msgid "B<isgreaterequal>()"
4222 #: build/C/man3/isgreater.3:77
4224 "determines I<(x)\\ E<gt>=\\ (y)> without an exception if I<x> or I<y> is "
4229 #: build/C/man3/isgreater.3:77
4235 #: build/C/man3/isgreater.3:85
4236 msgid "determines I<(x)\\ E<lt>\\ (y)> without an exception if I<x> or I<y> is NaN."
4240 #: build/C/man3/isgreater.3:85
4242 msgid "B<islessequal>()"
4246 #: build/C/man3/isgreater.3:93
4248 "determines I<(x)\\ E<lt>=\\ (y)> without an exception if I<x> or I<y> is "
4253 #: build/C/man3/isgreater.3:93
4255 msgid "B<islessgreater>()"
4259 #: build/C/man3/isgreater.3:107
4261 "determines I<(x)\\ E<lt> (y) || (x) E<gt>\\ (y)> without an exception if "
4262 "I<x> or I<y> is NaN. This macro is not equivalent to I<x\\ !=\\ y> because "
4263 "that expression is true if I<x> or I<y> is NaN."
4267 #: build/C/man3/isgreater.3:107
4269 msgid "B<isunordered>()"
4273 #: build/C/man3/isgreater.3:111
4275 "determines whether its arguments are unordered, that is, whether at least "
4276 "one of the arguments is a NaN."
4280 #: build/C/man3/isgreater.3:116
4282 "The macros other than B<isunordered>() return the result of the relational "
4283 "comparison; these macros return 0 if either argument is a NaN."
4287 #: build/C/man3/isgreater.3:123
4288 msgid "B<isunordered>() returns 1 if I<x> or I<y> is NaN and 0 otherwise."
4292 #: build/C/man3/isgreater.3:136
4294 "The B<isgreater>(), B<isgreaterequal>(), B<isless>(), B<islessequal>(), "
4295 "B<islessgreater>(), and B<isunordered>() macros are thread-safe."
4299 #: build/C/man3/isgreater.3:143
4301 "Not all hardware supports these functions, and where hardware support isn't "
4302 "provided, they will be emulated by macros. This will result in a "
4303 "performance penalty. Don't use these functions if NaN is of no concern for "
4308 #: build/C/man3/isgreater.3:146
4309 msgid "B<fpclassify>(3), B<isnan>(3)"
4313 #: build/C/man3/j0.3:36
4319 #: build/C/man3/j0.3:36 build/C/man3/lgamma.3:11 build/C/man3/lrint.3:27 build/C/man3/y0.3:36
4325 #: build/C/man3/j0.3:40
4327 "j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl - Bessel functions of the first "
4332 #: build/C/man3/j0.3:46
4333 msgid "B<double j0(double >I<x>B<);>"
4337 #: build/C/man3/j0.3:48
4338 msgid "B<double j1(double >I<x>B<);>"
4342 #: build/C/man3/j0.3:50
4343 msgid "B<double jn(int >I<n>B<, double >I<x>B<);>"
4347 #: build/C/man3/j0.3:52
4348 msgid "B<float j0f(float >I<x>B<);>"
4352 #: build/C/man3/j0.3:54
4353 msgid "B<float j1f(float >I<x>B<);>"
4357 #: build/C/man3/j0.3:56
4358 msgid "B<float jnf(int >I<n>B<, float >I<x>B<);>"
4362 #: build/C/man3/j0.3:58
4363 msgid "B<long double j0l(long double >I<x>B<);>"
4367 #: build/C/man3/j0.3:60
4368 msgid "B<long double j1l(long double >I<x>B<);>"
4372 #: build/C/man3/j0.3:62
4373 msgid "B<long double jnl(int >I<n>B<, long double >I<x>B<);>"
4377 #: build/C/man3/j0.3:74
4378 msgid "B<j0>(), B<j1>(), B<jn>():"
4382 #: build/C/man3/j0.3:76 build/C/man3/y0.3:76
4383 msgid "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE"
4387 #: build/C/man3/j0.3:84
4388 msgid "B<j0f>(), B<j0l>(), B<j1f>(), B<j1l>(), B<jnf>(), B<jnl>():"
4391 #. Also seems to work: -std=c99 -D_XOPEN_SOURCE
4393 #: build/C/man3/j0.3:87 build/C/man3/y0.3:87
4394 msgid "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600"
4398 #: build/C/man3/j0.3:104
4400 "The B<j0>() and B<j1>() functions return Bessel functions of I<x> of the "
4401 "first kind of orders 0 and 1, respectively. The B<jn>() function returns "
4402 "the Bessel function of I<x> of the first kind of order I<n>."
4406 #: build/C/man3/j0.3:121
4408 "The B<j0f>(), B<j1f>(), and B<jnf>(), functions are versions that take and "
4409 "return I<float> values. The B<j0l>(), B<j1l>(), and B<jnl>() functions are "
4410 "versions that take and return I<long double> values."
4414 #: build/C/man3/j0.3:125
4416 "On success, these functions return the appropriate Bessel value of the first "
4421 #: build/C/man3/j0.3:136
4423 "If I<x> is too large in magnitude, or the result underflows, a range error "
4424 "occurs, and the return value is 0."
4428 #: build/C/man3/j0.3:143
4430 msgid "Range error: result underflow, or I<x> is too large in magnitude"
4433 #. An underflow floating-point exception
4434 #. .RB ( FE_UNDERFLOW )
4437 #: build/C/man3/j0.3:151
4438 msgid "I<errno> is set to B<ERANGE>."
4441 #. FIXME . Is it intentional that these functions do not raise exceptions?
4443 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6805
4445 #: build/C/man3/j0.3:157
4446 msgid "These functions do not raise exceptions for B<fetestexcept>(3)."
4450 #: build/C/man3/j0.3:163 build/C/man3/y0.3:236
4452 "The functions returning I<double> conform to SVr4, 4.3BSD, POSIX.1-2001. "
4453 "The others are nonstandard functions that also exist on the BSDs."
4457 #: build/C/man3/j0.3:172
4459 "There are errors of up to 2e-16 in the values returned by B<j0>(), B<j1>() "
4460 "and B<jn>() for values of I<x> between -8 and 8."
4464 #: build/C/man3/j0.3:174
4469 #: build/C/man3/ldexp.3:34
4475 #: build/C/man3/ldexp.3:34
4481 #: build/C/man3/ldexp.3:37
4483 "ldexp, ldexpf, ldexpl - multiply floating-point number by integral power of "
4488 #: build/C/man3/ldexp.3:42
4490 msgid "B<double ldexp(double >I<x>B<, int >I<exp>B<);>\n"
4494 #: build/C/man3/ldexp.3:44
4496 msgid "B<float ldexpf(float >I<x>B<, int >I<exp>B<);>\n"
4500 #: build/C/man3/ldexp.3:46
4502 msgid "B<long double ldexpl(long double >I<x>B<, int >I<exp>B<);>\n"
4506 #: build/C/man3/ldexp.3:58
4507 msgid "B<ldexpf>(), B<ldexpl>():"
4511 #: build/C/man3/ldexp.3:73
4513 "The B<ldexp>() function returns the result of multiplying the "
4514 "floating-point number I<x> by 2 raised to the power I<exp>."
4518 #: build/C/man3/ldexp.3:76
4519 msgid "On success, these functions return I<x * (2^exp)>."
4523 #: build/C/man3/ldexp.3:82
4524 msgid "If I<exp> is zero, then I<x> is returned."
4528 #: build/C/man3/ldexp.3:106 build/C/man3/scalb.3:133 build/C/man3/scalbln.3:125
4530 "If the result overflows, a range error occurs, and the functions return "
4531 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with a sign the "
4536 #: build/C/man3/ldexp.3:137
4537 msgid "The B<ldexp>(), B<ldexpf>(), and B<ldexpl>() functions are thread-safe."
4541 #: build/C/man3/ldexp.3:147
4542 msgid "B<frexp>(3), B<modf>(3), B<scalbln>(3)"
4546 #: build/C/man3/lgamma.3:11
4552 #: build/C/man3/lgamma.3:15
4554 "lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log "
4559 #: build/C/man3/lgamma.3:20
4561 msgid "B<double lgamma(double >I<x>B<);>\n"
4565 #: build/C/man3/lgamma.3:22
4567 msgid "B<float lgammaf(float >I<x>B<);>\n"
4571 #: build/C/man3/lgamma.3:24
4573 msgid "B<long double lgammal(long double >I<x>B<);>\n"
4577 #: build/C/man3/lgamma.3:26
4579 msgid "B<double lgamma_r(double >I<x>B<, int *>I<signp>B<);>\n"
4583 #: build/C/man3/lgamma.3:28
4585 msgid "B<float lgammaf_r(float >I<x>B<, int *>I<signp>B<);>\n"
4589 #: build/C/man3/lgamma.3:30
4591 msgid "B<long double lgammal_r(long double >I<x>B<, int *>I<signp>B<);>\n"
4595 #: build/C/man3/lgamma.3:32
4597 msgid "B<extern int >I<signgam>B<;>\n"
4601 #: build/C/man3/lgamma.3:43
4602 msgid "B<lgamma>():"
4606 #: build/C/man3/lgamma.3:53
4607 msgid "B<lgammaf>(), B<lgammal>():"
4611 #: build/C/man3/lgamma.3:63
4612 msgid "B<lgamma_r>(), B<lgammaf_r>(), B<lgammal_r>():"
4616 #: build/C/man3/lgamma.3:67
4621 #: build/C/man3/lgamma.3:86
4623 "The B<lgamma>() function returns the natural logarithm of the absolute "
4624 "value of the Gamma function. The sign of the Gamma function is returned in "
4625 "the external integer I<signgam> declared in I<E<lt>math.hE<gt>>. It is 1 "
4626 "when the Gamma function is positive or zero, -1 when it is negative."
4630 #: build/C/man3/lgamma.3:96
4632 "Since using a constant location I<signgam> is not thread-safe, the functions "
4633 "B<lgamma_r>(), B<lgammaf_r>(), and B<lgammal_r>() have been introduced; "
4634 "they return the sign via the argument I<signp>."
4638 #: build/C/man3/lgamma.3:98
4639 msgid "On success, these functions return the natural logarithm of Gamma(x)."
4643 #: build/C/man3/lgamma.3:106
4644 msgid "If I<x> is 1 or 2, +0 is returned."
4648 #: build/C/man3/lgamma.3:122
4650 "If I<x> is a nonpositive integer, a pole error occurs, and the functions "
4651 "return +B<HUGE_VAL>, +B<HUGE_VALF>, or +B<HUGE_VALL>, respectively."
4655 #: build/C/man3/lgamma.3:132 build/C/man3/tgamma.3:92
4657 "If the result overflows, a range error occurs, and the functions return "
4658 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the correct "
4659 "mathematical sign."
4663 #: build/C/man3/lgamma.3:139
4665 msgid "Pole error: I<x> is a nonpositive integer"
4669 #: build/C/man3/lgamma.3:167
4671 "The B<lgamma>() functions are specified in C99 and POSIX.1-2001. "
4672 "I<signgam> is specified in POSIX.1-2001, but not in C99. The B<lgamma_r>() "
4673 "functions are nonstandard, but present on several other systems."
4676 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6777
4678 #: build/C/man3/lgamma.3:177
4680 "In glibc 2.9 and earlier, when a pole error occurs, I<errno> is set to "
4681 "B<EDOM>; instead of the POSIX-mandated B<ERANGE>. Since version 2.10, glibc "
4682 "does the right thing."
4686 #: build/C/man3/lgamma.3:179
4687 msgid "B<tgamma>(3)"
4691 #: build/C/man3/log.3:36
4697 #: build/C/man3/log.3:39
4698 msgid "log, logf, logl - natural logarithmic function"
4702 #: build/C/man3/log.3:44
4704 msgid "B<double log(double >I<x>B<);>\n"
4708 #: build/C/man3/log.3:46
4710 msgid "B<float logf(float >I<x>B<);>\n"
4714 #: build/C/man3/log.3:48
4716 msgid "B<long double logl(long double >I<x>B<);>\n"
4720 #: build/C/man3/log.3:60
4721 msgid "B<logf>(), B<logl>():"
4725 #: build/C/man3/log.3:73
4726 msgid "The B<log>() function returns the natural logarithm of I<x>."
4730 #: build/C/man3/log.3:76
4731 msgid "On success, these functions return the natural logarithm of I<x>."
4735 #: build/C/man3/log.3:85
4736 msgid "If I<x> is 1, the result is +0."
4740 #: build/C/man3/log.3:100 build/C/man3/logb.3:111
4742 "If I<x> is zero, then a pole error occurs, and the functions return "
4743 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
4747 #: build/C/man3/log.3:105
4749 "If I<x> is negative (including negative infinity), then a domain error "
4750 "occurs, and a NaN (not a number) is returned."
4754 #: build/C/man3/log.3:112 build/C/man3/y0.3:178
4756 msgid "Domain error: I<x> is negative"
4760 #: build/C/man3/log.3:120
4762 msgid "Pole error: I<x> is zero"
4766 #: build/C/man3/log.3:128 build/C/man3/tgamma.3:132
4768 "I<errno> is set to B<ERANGE>. A divide-by-zero floating-point exception "
4769 "(B<FE_DIVBYZERO>) is raised."
4773 #: build/C/man3/log.3:141
4775 "In glibc 2.5 and earlier, taking the B<log>() of a NaN produces a bogus "
4776 "invalid floating-point (B<FE_INVALID>) exception."
4780 #: build/C/man3/log.3:148
4781 msgid "B<cbrt>(3), B<clog>(3), B<log10>(3), B<log1p>(3), B<log2>(3), B<sqrt>(3)"
4785 #: build/C/man3/log10.3:36
4791 #: build/C/man3/log10.3:39
4792 msgid "log10, log10f, log10l - base-10 logarithmic function"
4796 #: build/C/man3/log10.3:44
4798 msgid "B<double log10(double >I<x>B<);>\n"
4802 #: build/C/man3/log10.3:46
4804 msgid "B<float log10f(float >I<x>B<);>\n"
4808 #: build/C/man3/log10.3:48
4810 msgid "B<long double log10l(long double >I<x>B<);>\n"
4814 #: build/C/man3/log10.3:60
4815 msgid "B<log10f>(), B<log10l>():"
4819 #: build/C/man3/log10.3:73
4820 msgid "The B<log10>() function returns the base 10 logarithm of I<x>."
4824 #: build/C/man3/log10.3:76
4825 msgid "On success, these functions return the base 10 logarithm of I<x>."
4829 #: build/C/man3/log10.3:81 build/C/man3/log2.3:81
4831 "For special cases, including where I<x> is 0, 1, negative, infinity, or NaN, "
4836 #: build/C/man3/log10.3:89 build/C/man3/log2.3:89
4838 "For a discussion of the errors that can occur for these functions, see "
4843 #: build/C/man3/log10.3:102
4844 msgid "B<cbrt>(3), B<clog10>(3), B<exp10>(3), B<log>(3), B<log2>(3), B<sqrt>(3)"
4848 #: build/C/man3/log1p.3:29
4854 #: build/C/man3/log1p.3:29 build/C/man3/logb.3:29
4860 #: build/C/man3/log1p.3:32
4861 msgid "log1p, log1pf, log1pl - logarithm of 1 plus argument"
4865 #: build/C/man3/log1p.3:37
4867 msgid "B<double log1p(double >I<x>B<);>\n"
4871 #: build/C/man3/log1p.3:39
4873 msgid "B<float log1pf(float >I<x>B<);>\n"
4877 #: build/C/man3/log1p.3:41
4879 msgid "B<long double log1pl(long double >I<x>B<);>\n"
4883 #: build/C/man3/log1p.3:52
4888 #: build/C/man3/log1p.3:63
4889 msgid "B<log1pf>(), B<log1pl>():"
4893 #: build/C/man3/log1p.3:74
4894 msgid "I<log1p(x)> returns a value equivalent to"
4898 #: build/C/man3/log1p.3:77
4900 msgid " log (1 + I<x>)\n"
4904 #: build/C/man3/log1p.3:83
4906 "It is computed in a way that is accurate even if the value of I<x> is near "
4911 #: build/C/man3/log1p.3:86
4912 msgid "On success, these functions return the natural logarithm of I<(1\\ +\\ x)>."
4916 #: build/C/man3/log1p.3:105
4918 "If I<x> is -1, a pole error occurs, and the functions return -B<HUGE_VAL>, "
4919 "-B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
4922 #. POSIX.1 specifies a possible range error if x is subnormal
4923 #. glibc 2.8 doesn't do this
4925 #: build/C/man3/log1p.3:113
4927 "If I<x> is less than -1 (including negative infinity), a domain error "
4928 "occurs, and a NaN (not a number) is returned."
4932 #: build/C/man3/log1p.3:120
4934 msgid "Domain error: I<x> is less than -1"
4938 #: build/C/man3/log1p.3:128
4940 msgid "Pole error: I<x> is -1"
4947 #: build/C/man3/log1p.3:136 build/C/man3/logb.3:131
4948 msgid "A divide-by-zero floating-point exception (B<FE_DIVBYZERO>) is raised."
4952 #: build/C/man3/log1p.3:150
4953 msgid "The B<log1p>(), B<log1pf>(), and B<log1pl>() functions are thread-safe."
4957 #: build/C/man3/log1p.3:157
4958 msgid "B<exp>(3), B<expm1>(3), B<log>(3)"
4962 #: build/C/man3/log2.3:36
4968 #: build/C/man3/log2.3:36 build/C/man3/pow.3:35
4974 #: build/C/man3/log2.3:39
4975 msgid "log2, log2f, log2l - base-2 logarithmic function"
4979 #: build/C/man3/log2.3:44
4981 msgid "B<double log2(double >I<x>B<);>\n"
4985 #: build/C/man3/log2.3:46
4987 msgid "B<float log2f(float >I<x>B<);>\n"
4991 #: build/C/man3/log2.3:48
4993 msgid "B<long double log2l(long double >I<x>B<);>\n"
4997 #: build/C/man3/log2.3:61
4998 msgid "B<log2>(), B<log2f>(), B<log2l>():"
5002 #: build/C/man3/log2.3:73
5003 msgid "The B<log2>() function returns the base 2 logarithm of I<x>."
5007 #: build/C/man3/log2.3:76
5008 msgid "On success, these functions return the base 2 logarithm of I<x>."
5012 #: build/C/man3/log2.3:103
5013 msgid "B<cbrt>(3), B<clog2>(3), B<log>(3), B<log10>(3), B<sqrt>(3)"
5017 #: build/C/man3/logb.3:29
5023 #: build/C/man3/logb.3:32
5024 msgid "logb, logbf, logbl - get exponent of a floating-point value"
5028 #: build/C/man3/logb.3:36
5029 msgid "B<double logb(double >I<x>B<);>"
5033 #: build/C/man3/logb.3:38
5034 msgid "B<float logbf(float >I<x>B<);>"
5038 #: build/C/man3/logb.3:40
5039 msgid "B<long double logbl(long double >I<x>B<);>"
5043 #: build/C/man3/logb.3:50
5048 #: build/C/man3/logb.3:61
5049 msgid "B<logbf>(), B<logbl>():"
5053 #: build/C/man3/logb.3:86
5055 "These functions extract the exponent from the internal floating-point "
5056 "representation of I<x> and return it as a floating-point value. The integer "
5057 "constant B<FLT_RADIX>, defined in I<E<lt>float.hE<gt>>, indicates the radix "
5058 "used for the system's floating-point representation. If B<FLT_RADIX> is 2, "
5059 "B<logb(>I<x>B<)> is equal to B<floor(log2(>I<x>B<))>, except that it is "
5064 #: build/C/man3/logb.3:94
5066 "If I<x> is subnormal, B<logb>() returns the exponent I<x> would have if it "
5071 #: build/C/man3/logb.3:97
5072 msgid "On success, these functions return the exponent of I<x>."
5076 #: build/C/man3/logb.3:116
5078 "If I<x> is negative infinity or positive infinity, then positive infinity is "
5083 #: build/C/man3/logb.3:123
5085 msgid "Pole error: I<x> is 0"
5089 #: build/C/man3/logb.3:151
5090 msgid "The B<logb>(), B<logbf>(), and B<logbl>() functions are thread-safe."
5094 #: build/C/man3/logb.3:156
5095 msgid "B<ilogb>(3), B<log>(3)"
5099 #: build/C/man3/lrint.3:27
5105 #: build/C/man3/lrint.3:30
5106 msgid "lrint, lrintf, lrintl, llrint, llrintf, llrintl - round to nearest integer"
5110 #: build/C/man3/lrint.3:35
5112 msgid "B<long int lrint(double >I<x>B<);>\n"
5116 #: build/C/man3/lrint.3:37
5118 msgid "B<long int lrintf(float >I<x>B<);>\n"
5122 #: build/C/man3/lrint.3:39
5124 msgid "B<long int lrintl(long double >I<x>B<);>\n"
5128 #: build/C/man3/lrint.3:41
5130 msgid "B<long long int llrint(double >I<x>B<);>\n"
5134 #: build/C/man3/lrint.3:43
5136 msgid "B<long long int llrintf(float >I<x>B<);>\n"
5140 #: build/C/man3/lrint.3:45
5142 msgid "B<long long int llrintl(long double >I<x>B<);>\n"
5146 #: build/C/man3/lrint.3:56 build/C/man3/lround.3:57
5147 msgid "All functions shown above:"
5151 #: build/C/man3/lrint.3:68
5153 "These functions round their argument to the nearest integer value, using the "
5154 "current rounding direction (see B<fesetround>(3))."
5158 #: build/C/man3/lrint.3:74
5160 "Note that unlike the B<rint>(3) family of functions, the return type of "
5161 "these functions differs from that of their arguments."
5165 #: build/C/man3/lrint.3:76 build/C/man3/lround.3:79 build/C/man3/rint.3:113 build/C/man3/round.3:77 build/C/man3/trunc.3:65
5166 msgid "These functions return the rounded integer value."
5169 #. The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
5171 #: build/C/man3/lrint.3:88 build/C/man3/lround.3:91
5173 "If I<x> is a NaN or an infinity, or the rounded value is too large to be "
5174 "stored in a I<long> (I<long long> in the case of the B<ll*> functions), then "
5175 "a domain error occurs, and the return value is unspecified."
5179 #: build/C/man3/lrint.3:95 build/C/man3/lround.3:98
5181 msgid "Domain error: I<x> is a NaN or infinite, or the rounded value is too large"
5185 #: build/C/man3/lrint.3:121
5187 "The B<lrint>(), B<lrintf>(), B<lrintl>(), B<llrint>(), B<llrintf>(), and "
5188 "B<llrintl>() functions are thread-safe."
5192 #: build/C/man3/lrint.3:130
5194 "B<ceil>(3), B<floor>(3), B<lround>(3), B<nearbyint>(3), B<rint>(3), "
5199 #: build/C/man3/lround.3:27
5205 #: build/C/man3/lround.3:27 build/C/man3/rint.3:27
5211 #: build/C/man3/lround.3:31
5213 "lround, lroundf, lroundl, llround, llroundf, llroundl - round to nearest "
5214 "integer, away from zero"
5218 #: build/C/man3/lround.3:36
5220 msgid "B<long int lround(double >I<x>B<);>\n"
5224 #: build/C/man3/lround.3:38
5226 msgid "B<long int lroundf(float >I<x>B<);>\n"
5230 #: build/C/man3/lround.3:40
5232 msgid "B<long int lroundl(long double >I<x>B<);>\n"
5236 #: build/C/man3/lround.3:42
5238 msgid "B<long long int llround(double >I<x>B<);>\n"
5242 #: build/C/man3/lround.3:44
5244 msgid "B<long long int llroundf(float >I<x>B<);>\n"
5248 #: build/C/man3/lround.3:46
5250 msgid "B<long long int llroundl(long double >I<x>B<);>\n"
5254 #: build/C/man3/lround.3:70
5256 "These functions round their argument to the nearest integer value, rounding "
5257 "away from zero, regardless of the current rounding direction (see "
5262 #: build/C/man3/lround.3:77
5264 "Note that unlike the B<round>(3) and B<ceil>(3), functions, the return type "
5265 "of these functions differs from that of their arguments."
5269 #: build/C/man3/lround.3:124
5271 "The B<lround>(), B<lroundf>(), B<lroundl>(), B<llround>(), B<llroundf>(), "
5272 "and B<llroundl>() functions are thread-safe."
5276 #: build/C/man3/lround.3:133 build/C/man3/trunc.3:101
5278 "B<ceil>(3), B<floor>(3), B<lrint>(3), B<nearbyint>(3), B<rint>(3), "
5283 #: build/C/man7/math_error.7:26
5289 #: build/C/man7/math_error.7:29
5290 msgid "math_error - detecting errors from mathematical functions"
5294 #: build/C/man7/math_error.7:34
5297 "B<#include E<lt>math.hE<gt>>\n"
5298 "B<#include E<lt>errno.hE<gt>>\n"
5299 "B<#include E<lt>fenv.hE<gt>>\n"
5303 #: build/C/man7/math_error.7:53
5305 "When an error occurs, most library functions indicate this fact by returning "
5306 "a special value (e.g., -1 or NULL). Because they typically return a "
5307 "floating-point number, the mathematical functions declared in "
5308 "I<E<lt>math.hE<gt>> indicate an error using other mechanisms. There are two "
5309 "error-reporting mechanisms: the older one sets I<errno>; the newer one uses "
5310 "the floating-point exception mechanism (the use of B<feclearexcept>(3) and "
5311 "B<fetestexcept>(3), as outlined below) described in B<fenv>(3)."
5315 #: build/C/man7/math_error.7:58
5317 "A portable program that needs to check for an error from a mathematical "
5318 "function should set I<errno> to zero, and make the following call"
5322 #: build/C/man7/math_error.7:62
5324 msgid "feclearexcept(FE_ALL_EXCEPT);\n"
5328 #: build/C/man7/math_error.7:66
5329 msgid "before calling a mathematical function."
5333 #: build/C/man7/math_error.7:72
5335 "Upon return from the mathematical function, if I<errno> is nonzero, or the "
5336 "following call (see B<fenv>(3)) returns nonzero"
5340 #: build/C/man7/math_error.7:77
5343 "fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW |\n"
5349 #. FE_INVALID = 0x01,
5350 #. __FE_DENORM = 0x02,
5351 #. FE_DIVBYZERO = 0x04,
5352 #. FE_OVERFLOW = 0x08,
5353 #. FE_UNDERFLOW = 0x10,
5354 #. FE_INEXACT = 0x20
5357 #: build/C/man7/math_error.7:90
5358 msgid "then an error occurred in the mathematical function."
5362 #: build/C/man7/math_error.7:93
5364 "The error conditions that can occur for mathematical functions are described "
5369 #: build/C/man7/math_error.7:93
5371 msgid "Domain error"
5375 #: build/C/man7/math_error.7:109
5377 "A I<domain error> occurs when a mathematical function is supplied with an "
5378 "argument whose value falls outside the domain for which the function is "
5379 "defined (e.g., giving a negative argument to B<log>(3)). When a domain "
5380 "error occurs, math functions commonly return a NaN (though some functions "
5381 "return a different value in this case); I<errno> is set to B<EDOM>, and an "
5382 "\"invalid\" (B<FE_INVALID>) floating-point exception is raised."
5386 #: build/C/man7/math_error.7:109
5392 #: build/C/man7/math_error.7:133
5394 "A I<pole error> occurs when the mathematical result of a function is an "
5395 "exact infinity (e.g., the logarithm of 0 is negative infinity). When a pole "
5396 "error occurs, the function returns the (signed) value B<HUGE_VAL>, "
5397 "B<HUGE_VALF>, or B<HUGE_VALL>, depending on whether the function result type "
5398 "is I<double>, I<float>, or I<long double>. The sign of the result is that "
5399 "which is mathematically correct for the function. I<errno> is set to "
5400 "B<ERANGE>, and a \"divide-by-zero\" (B<FE_DIVBYZERO>) floating-point "
5401 "exception is raised."
5405 #: build/C/man7/math_error.7:133
5411 #: build/C/man7/math_error.7:140
5413 "A I<range error> occurs when the magnitude of the function result means that "
5414 "it cannot be represented in the result type of the function. The return "
5415 "value of the function depends on whether the range error was an overflow or "
5420 #: build/C/man7/math_error.7:162
5422 "A floating result I<overflows> if the result is finite, but is too large to "
5423 "represented in the result type. When an overflow occurs, the function "
5424 "returns the value B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, depending on "
5425 "whether the function result type is I<double>, I<float>, or I<long double>. "
5426 "I<errno> is set to B<ERANGE>, and an \"overflow\" (B<FE_OVERFLOW>) "
5427 "floating-point exception is raised."
5431 #: build/C/man7/math_error.7:177
5433 "A floating result I<underflows> if the result is too small to be represented "
5434 "in the result type. If an underflow occurs, a mathematical function "
5435 "typically returns 0.0 (C99 says a function shall return \"an "
5436 "implementation-defined value whose magnitude is no greater than the smallest "
5437 "normalized positive number in the specified type\"). I<errno> may be set to "
5438 "B<ERANGE>, and an \"overflow\" (B<FE_UNDERFLOW>) floating-point exception "
5443 #: build/C/man7/math_error.7:187
5445 "Some functions deliver a range error if the supplied argument value, or the "
5446 "correct function result, would be I<subnormal>. A subnormal value is one "
5447 "that is nonzero, but with a magnitude that is so small that it can't be "
5448 "presented in normalized form (i.e., with a 1 in the most significant bit of "
5449 "the significand). The representation of a subnormal number will contain one "
5450 "or more leading zeros in the significand."
5453 #. See CONFORMANCE in the glibc 2.8 (and earlier) source.
5455 #: build/C/man7/math_error.7:209
5457 "The I<math_errhandling> identifier specified by C99 and POSIX.1-2001 is not "
5458 "supported by glibc. This identifier is supposed to indicate which of the "
5459 "two error-notification mechanisms (I<errno>, exceptions retrievable via "
5460 "B<fettestexcept>(3)) is in use. The standards require that at least one be "
5461 "in use, but permit both to be available. The current (version 2.8) "
5462 "situation under glibc is messy. Most (but not all) functions raise "
5463 "exceptions on errors. Some also set I<errno>. A few functions set "
5464 "I<errno>, but don't raise an exception. A very few functions do neither. "
5465 "See the individual manual pages for details."
5468 #. http://www.securecoding.cert.org/confluence/display/seccode/FLP32-C.+Prevent+or+detect+domain+and+range+errors+in+math+functions
5470 #: build/C/man7/math_error.7:222
5472 "To avoid the complexities of using I<errno> and B<fetestexcept>(3) for "
5473 "error checking, it is often advised that one should instead check for bad "
5474 "argument values before each call. For example, the following code ensures "
5475 "that B<log>(3)'s argument is not a NaN and is not zero (a pole error) or "
5476 "less than zero (a domain error):"
5480 #: build/C/man7/math_error.7:226
5482 msgid "double x, r;\n"
5486 #: build/C/man7/math_error.7:230
5489 "if (isnan(x) || islessequal(x, 0)) {\n"
5490 " /* Deal with NaN / pole error / domain error */\n"
5495 #: build/C/man7/math_error.7:232
5497 msgid "r = log(x);\n"
5501 #: build/C/man7/math_error.7:240
5503 "The discussion on this page does not apply to the complex mathematical "
5504 "functions (i.e., those declared by I<E<lt>complex.hE<gt>>), which in general "
5505 "are not required to return errors by C99 and POSIX.1-2001."
5509 #: build/C/man7/math_error.7:256
5511 "The B<gcc>(1) I<-fno-math-errno> option causes the executable to employ "
5512 "implementations of some mathematical functions that are faster than the "
5513 "standard implementations, but do not set I<errno> on error. (The B<gcc>(1) "
5514 "I<-ffast-math> option also enables I<-fno-math-errno>.) An error can still "
5515 "be tested for using B<fetestexcept>(3)."
5519 #: build/C/man7/math_error.7:265
5521 "B<gcc>(1), B<errno>(3), B<fenv>(3), B<fpclassify>(3), B<INFINITY>(3), "
5522 "B<isgreater>(3), B<matherr>(3), B<nan>(3)"
5526 #: build/C/man7/math_error.7:267
5527 msgid "I<info libc>"
5531 #: build/C/man3/matherr.3:27
5537 #: build/C/man3/matherr.3:27
5543 #: build/C/man3/matherr.3:30
5544 msgid "matherr - SVID math library exception handling"
5548 #: build/C/man3/matherr.3:34
5551 "B<#define _SVID_SOURCE> /* See feature_test_macros(7) */\n"
5552 "B<#include E<lt>math.hE<gt>>\n"
5556 #: build/C/man3/matherr.3:36
5558 msgid "B<int matherr(struct exception *>I<exc>B<);>\n"
5562 #: build/C/man3/matherr.3:38
5564 msgid "B<extern _LIB_VERSION_TYPE _LIB_VERSION;>\n"
5568 #: build/C/man3/matherr.3:51
5570 "The System V Interface Definition (SVID) specifies that various math "
5571 "functions should invoke a function called B<matherr>() if a math exception "
5572 "is detected. This function is called before the math function returns; "
5573 "after B<matherr>() returns, the system then returns to the math function, "
5574 "which in turn returns to the caller."
5578 #: build/C/man3/matherr.3:62
5580 "The B<matherr>() mechanism is supported by glibc, but is now obsolete: new "
5581 "applications should use the techniques described in B<math_error>(7) and "
5582 "B<fenv>(3). This page documents the glibc B<matherr>() mechanism as an aid "
5583 "for maintaining and porting older applications."
5587 #: build/C/man3/matherr.3:75
5589 "To employ B<matherr>(), the programmer must define the B<_SVID_SOURCE> "
5590 "feature test macro (before including I<any> header files), and assign the "
5591 "value B<_SVID_> to the external variable B<_LIB_VERSION>."
5595 #: build/C/man3/matherr.3:87
5597 "The system provides a default version of B<matherr>(). This version does "
5598 "nothing, and returns zero (see below for the significance of this). The "
5599 "default B<matherr>() can be overridden by a programmer-defined version, "
5600 "which will be invoked when an exception occurs. The function is invoked "
5601 "with one argument, a pointer to an I<exception> structure, defined as "
5606 #: build/C/man3/matherr.3:97
5609 "struct exception {\n"
5610 " int type; /* Exception type */\n"
5611 " char *name; /* Name of function causing exception */\n"
5612 " double arg1; /* 1st argument to function */\n"
5613 " double arg2; /* 2nd argument to function */\n"
5614 " double retval; /* Function return value */\n"
5619 #: build/C/man3/matherr.3:103
5620 msgid "The I<type> field has one of the following values:"
5624 #: build/C/man3/matherr.3:103
5630 #: build/C/man3/matherr.3:111
5632 "A domain error occurred (the function argument was outside the range for "
5633 "which the function is defined). The return value depends on the function; "
5634 "I<errno> is set to B<EDOM>."
5638 #: build/C/man3/matherr.3:111
5644 #: build/C/man3/matherr.3:122
5646 "A pole error occurred (the function result is an infinity). The return "
5647 "value in most cases is B<HUGE> (the largest single precision floating-point "
5648 "number), appropriately signed. In most cases, I<errno> is set to B<EDOM>."
5652 #: build/C/man3/matherr.3:122
5658 #: build/C/man3/matherr.3:131
5660 "An overflow occurred. In most cases, the value B<HUGE> is returned, and "
5661 "I<errno> is set to B<ERANGE>."
5665 #: build/C/man3/matherr.3:131
5667 msgid "B<UNDERFLOW>"
5671 #: build/C/man3/matherr.3:138
5672 msgid "An underflow occurred. 0.0 is returned, and I<errno> is set to B<ERANGE>."
5676 #: build/C/man3/matherr.3:138
5682 #: build/C/man3/matherr.3:145
5684 "Total loss of significance. 0.0 is returned, and I<errno> is set to "
5689 #: build/C/man3/matherr.3:145
5695 #: build/C/man3/matherr.3:150
5697 "Partial loss of significance. This value is unused on glibc (and many other "
5702 #: build/C/man3/matherr.3:158
5704 "The I<arg1> and I<arg2> fields are the arguments supplied to the function "
5705 "(I<arg2> is undefined for functions that take only one argument)."
5709 #: build/C/man3/matherr.3:166
5711 "The I<retval> field specifies the return value that the math function will "
5712 "return to its caller. The programmer-defined B<matherr>() can modify this "
5713 "field to change the return value of the math function."
5717 #: build/C/man3/matherr.3:173
5719 "If the B<matherr>() function returns zero, then the system sets I<errno> as "
5720 "described above, and may print an error message on standard error (see "
5725 #: build/C/man3/matherr.3:179
5727 "If the B<matherr>() function returns a nonzero value, then the system does "
5728 "not set I<errno>, and doesn't print an error message."
5732 #: build/C/man3/matherr.3:179
5734 msgid "Math functions that employ matherr()"
5738 #: build/C/man3/matherr.3:189
5740 "The table below lists the functions and circumstances in which B<matherr>() "
5741 "is called. The \"Type\" column indicates the value assigned to "
5742 "I<exc-E<gt>type> when calling B<matherr>(). The \"Result\" column is the "
5743 "default return value assigned to I<exc-E<gt>retval>."
5747 #: build/C/man3/matherr.3:195
5749 "The \"Msg?\" and \"errno\" columns describe the default behavior if "
5750 "B<matherr>() returns zero. If the \"Msg?\" columns contains \"y\", then "
5751 "the system prints an error message on standard error."
5755 #: build/C/man3/matherr.3:197
5756 msgid "The table uses the following notations and abbreviations:"
5760 #: build/C/man3/matherr.3:209
5763 "x first argument to function\n"
5764 "y second argument to function\n"
5765 "fin finite value for argument\n"
5766 "neg negative value for argument\n"
5767 "int integral value for argument\n"
5768 "o/f result overflowed\n"
5769 "u/f result underflowed\n"
5770 "|x| absolute value of x\n"
5771 "X_TLOSS is a constant defined in I<E<lt>math.hE<gt>>\n"
5775 #: build/C/man3/matherr.3:216
5777 msgid "Function\tType\tResult\tMsg?\terrno\n"
5781 #: build/C/man3/matherr.3:217
5783 msgid "acos(|x|E<gt>1)\tDOMAIN\tHUGE\ty\tEDOM\n"
5787 #: build/C/man3/matherr.3:218
5789 msgid "asin(|x|E<gt>1)\tDOMAIN\tHUGE\ty\tEDOM\n"
5793 #: build/C/man3/matherr.3:219
5795 msgid "atan2(0,0)\tDOMAIN\tHUGE\ty\tEDOM\n"
5798 #. retval is 0.0/0.0
5800 #: build/C/man3/matherr.3:220
5802 msgid "acosh(xE<lt>1)\tDOMAIN\tNAN\ty\tEDOM\t\n"
5805 #. retval is 0.0/0.0
5807 #: build/C/man3/matherr.3:221
5809 msgid "atanh(|x|E<gt>1)\tDOMAIN\tNAN\ty\tEDOM\t\n"
5814 #: build/C/man3/matherr.3:222
5816 msgid "atanh(|x|==1)\tSING\t(xE<gt>0.0)?\ty\tEDOM\t\n"
5820 #: build/C/man3/matherr.3:223 build/C/man3/matherr.3:268
5822 msgid "\\ \t\\ \tHUGE_VAL :\n"
5826 #: build/C/man3/matherr.3:224 build/C/man3/matherr.3:269
5828 msgid "\\ \t\\ \t-HUGE_VAL\n"
5832 #: build/C/man3/matherr.3:225
5834 msgid "cosh(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5838 #: build/C/man3/matherr.3:226
5840 msgid "sinh(fin) o/f\tOVERFLOW\t(xE<gt>0.0) ?\tn\tERANGE\n"
5844 #: build/C/man3/matherr.3:227
5846 msgid "\\ \t\\ \tHUGE : -HUGE\n"
5850 #: build/C/man3/matherr.3:228
5852 msgid "sqrt(xE<lt>0)\tDOMAIN\t0.0\ty\tEDOM\n"
5856 #: build/C/man3/matherr.3:229
5858 msgid "hypot(fin,fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5862 #: build/C/man3/matherr.3:230
5864 msgid "exp(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5868 #: build/C/man3/matherr.3:231
5870 msgid "exp(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5874 #: build/C/man3/matherr.3:232
5876 msgid "exp2(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5880 #: build/C/man3/matherr.3:233
5882 msgid "exp2(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5886 #: build/C/man3/matherr.3:234
5888 msgid "exp10(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5892 #: build/C/man3/matherr.3:235
5894 msgid "exp10(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5898 #: build/C/man3/matherr.3:236
5900 msgid "j0(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5904 #: build/C/man3/matherr.3:237
5906 msgid "j1(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5910 #: build/C/man3/matherr.3:238
5912 msgid "jn(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5916 #: build/C/man3/matherr.3:239
5918 msgid "y0(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5922 #: build/C/man3/matherr.3:240
5924 msgid "y1(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5928 #: build/C/man3/matherr.3:241
5930 msgid "yn(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5934 #: build/C/man3/matherr.3:242
5936 msgid "y0(0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5940 #: build/C/man3/matherr.3:243
5942 msgid "y0(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5946 #: build/C/man3/matherr.3:244
5948 msgid "y1(0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5952 #: build/C/man3/matherr.3:245
5954 msgid "y1(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5958 #: build/C/man3/matherr.3:246
5960 msgid "yn(n,0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5964 #: build/C/man3/matherr.3:247
5966 msgid "yn(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5970 #: build/C/man3/matherr.3:248
5972 msgid "lgamma(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5976 #: build/C/man3/matherr.3:249
5978 msgid "lgamma(-int) or\tSING\tHUGE\ty\tEDOM\n"
5982 #: build/C/man3/matherr.3:250
5984 msgid "\\ \\ lgamma(0)\n"
5988 #: build/C/man3/matherr.3:251
5990 msgid "tgamma(fin) o/f\tOVERFLOW\tHUGE_VAL\tn\tERANGE\n"
5994 #: build/C/man3/matherr.3:252
5996 msgid "tgamma(-int)\tSING\tNAN\ty\tEDOM\n"
6000 #: build/C/man3/matherr.3:253
6002 msgid "tgamma(0)\tSING\tcopysign(\ty\tERANGE\n"
6006 #: build/C/man3/matherr.3:254
6008 msgid "\\ \t\\ \tHUGE_VAL,x)\n"
6012 #: build/C/man3/matherr.3:255
6014 msgid "log(0)\tSING\t-HUGE\ty\tEDOM\n"
6018 #: build/C/man3/matherr.3:256
6020 msgid "log(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
6023 #. different from log()
6025 #: build/C/man3/matherr.3:257
6027 msgid "log2(0)\tSING\t-HUGE\tn\tEDOM\t\n"
6030 #. different from log()
6032 #: build/C/man3/matherr.3:258
6034 msgid "log2(xE<lt>0)\tDOMAIN\t-HUGE\tn\tEDOM\t\n"
6038 #: build/C/man3/matherr.3:259
6040 msgid "log10(0)\tSING\t-HUGE\ty\tEDOM\n"
6044 #: build/C/man3/matherr.3:260
6046 msgid "log10(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
6050 #: build/C/man3/matherr.3:261
6052 msgid "pow(0.0,0.0)\tDOMAIN\t0.0\ty\tEDOM\n"
6056 #: build/C/man3/matherr.3:262
6058 msgid "pow(x,y) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
6062 #: build/C/man3/matherr.3:263
6064 msgid "pow(x,y) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
6068 #: build/C/man3/matherr.3:264
6070 msgid "pow(NaN,0.0)\tDOMAIN\tx\tn\tEDOM\n"
6075 #: build/C/man3/matherr.3:265
6077 msgid "0**neg\tDOMAIN\t0.0\ty\tEDOM\t\n"
6081 #: build/C/man3/matherr.3:266
6083 msgid "neg**non-int\tDOMAIN\t0.0\ty\tEDOM\n"
6087 #: build/C/man3/matherr.3:267
6089 msgid "scalb() o/f\tOVERFLOW\t(xE<gt>0.0) ?\tn\tERANGE\n"
6093 #: build/C/man3/matherr.3:270
6095 msgid "scalb() u/f\tUNDERFLOW\tcopysign(\tn\tERANGE\n"
6099 #: build/C/man3/matherr.3:271
6101 msgid "\\ \t\\ \t\\ \\ 0.0,x)\n"
6105 #: build/C/man3/matherr.3:272
6107 msgid "fmod(x,0)\tDOMAIN\tx\ty\tEDOM\n"
6110 #. retval is 0.0/0.0
6112 #: build/C/man3/matherr.3:273
6114 msgid "remainder(x,0)\tDOMAIN\tNAN\ty\tEDOM\t\n"
6118 #: build/C/man3/matherr.3:296
6120 "The example program demonstrates the use of B<matherr>() when calling "
6121 "B<log>(3). The program takes up to three command-line arguments. The first "
6122 "argument is the floating-point number to be given to B<log>(3). If the "
6123 "optional second argument is provided, then B<_LIB_VERSION> is set to "
6124 "B<_SVID_> so that B<matherr>() is called, and the integer supplied in the "
6125 "command-line argument is used as the return value from B<matherr>(). If the "
6126 "optional third command-line argument is supplied, then it specifies an "
6127 "alternative return value that B<matherr>() should assign as the return "
6128 "value of the math function."
6132 #: build/C/man3/matherr.3:301
6134 "The following example run, where B<log>(3) is given an argument of 0.0, "
6135 "does not use B<matherr>():"
6139 #: build/C/man3/matherr.3:307
6142 "$B< ./a.out 0.0>\n"
6143 "errno: Numerical result out of range\n"
6148 #: build/C/man3/matherr.3:313
6149 msgid "In the following run, B<matherr>() is called, and returns 0:"
6153 #: build/C/man3/matherr.3:323
6156 "$B< ./a.out 0.0 0>\n"
6157 "matherr SING exception in log() function\n"
6158 " args: 0.000000, 0.000000\n"
6159 " retval: -340282346638528859811704183484516925440.000000\n"
6161 "errno: Numerical argument out of domain\n"
6162 "x=-340282346638528859811704183484516925440.000000\n"
6166 #: build/C/man3/matherr.3:327
6167 msgid "The message \"log: SING error\" was printed by the C library."
6171 #: build/C/man3/matherr.3:331
6172 msgid "In the following run, B<matherr>() is called, and returns a nonzero value:"
6176 #: build/C/man3/matherr.3:339
6179 "$B< ./a.out 0.0 1>\n"
6180 "matherr SING exception in log() function\n"
6181 " args: 0.000000, 0.000000\n"
6182 " retval: -340282346638528859811704183484516925440.000000\n"
6183 "x=-340282346638528859811704183484516925440.000000\n"
6187 #: build/C/man3/matherr.3:345
6189 "In this case, the C library did not print a message, and I<errno> was not "
6194 #: build/C/man3/matherr.3:350
6196 "In the following run, B<matherr>() is called, changes the return value of "
6197 "the math function, and returns a nonzero value:"
6201 #: build/C/man3/matherr.3:358
6204 "$B< ./a.out 0.0 1 12345.0>\n"
6205 "matherr SING exception in log() function\n"
6206 " args: 0.000000, 0.000000\n"
6207 " retval: -340282346638528859811704183484516925440.000000\n"
6212 #: build/C/man3/matherr.3:368
6215 "#define _SVID_SOURCE\n"
6216 "#include E<lt>errno.hE<gt>\n"
6217 "#include E<lt>math.hE<gt>\n"
6218 "#include E<lt>stdio.hE<gt>\n"
6219 "#include E<lt>stdlib.hE<gt>\n"
6223 #: build/C/man3/matherr.3:374
6226 "static int matherr_ret = 0; /* Value that matherr()\n"
6227 " should return */\n"
6228 "static int change_retval = 0; /* Should matherr() change\n"
6229 " function\\(aqs return value? */\n"
6230 "static double new_retval; /* New function return value */\n"
6234 #: build/C/man3/matherr.3:389
6238 "matherr(struct exception *exc)\n"
6240 " fprintf(stderr, \"matherr %s exception in %s() function\\en\",\n"
6241 " (exc-E<gt>type == DOMAIN) ? \"DOMAIN\" :\n"
6242 " (exc-E<gt>type == OVERFLOW) ? \"OVERFLOW\" :\n"
6243 " (exc-E<gt>type == UNDERFLOW) ? \"UNDERFLOW\" :\n"
6244 " (exc-E<gt>type == SING) ? \"SING\" :\n"
6245 " (exc-E<gt>type == TLOSS) ? \"TLOSS\" :\n"
6246 " (exc-E<gt>type == PLOSS) ? \"PLOSS\" : \"???\",\n"
6247 " exc-E<gt>name);\n"
6248 " fprintf(stderr, \" args: %f, %f\\en\",\n"
6249 " exc-E<gt>arg1, exc-E<gt>arg2);\n"
6250 " fprintf(stderr, \" retval: %f\\en\", exc-E<gt>retval);\n"
6254 #: build/C/man3/matherr.3:392
6257 " if (change_retval)\n"
6258 " exc-E<gt>retval = new_retval;\n"
6262 #: build/C/man3/matherr.3:395
6265 " return matherr_ret;\n"
6270 #: build/C/man3/matherr.3:400
6274 "main(int argc, char *argv[])\n"
6280 #: build/C/man3/matherr.3:406
6283 " if (argc E<lt> 2) {\n"
6284 " fprintf(stderr, \"Usage: %s E<lt>argvalE<gt>\"\n"
6285 " \" [E<lt>matherr-retE<gt> "
6286 "[E<lt>new-func-retvalE<gt>]]\\en\", argv[0]);\n"
6287 " exit(EXIT_FAILURE);\n"
6292 #: build/C/man3/matherr.3:411
6295 " if (argc E<gt> 2) {\n"
6296 " _LIB_VERSION = _SVID_;\n"
6297 " matherr_ret = atoi(argv[2]);\n"
6302 #: build/C/man3/matherr.3:416
6305 " if (argc E<gt> 3) {\n"
6306 " change_retval = 1;\n"
6307 " new_retval = atof(argv[3]);\n"
6312 #: build/C/man3/matherr.3:420
6315 " x = log(atof(argv[1]));\n"
6316 " if (errno != 0)\n"
6317 " perror(\"errno\");\n"
6321 #: build/C/man3/matherr.3:424
6324 " printf(\"x=%f\\en\", x);\n"
6325 " exit(EXIT_SUCCESS);\n"
6330 #: build/C/man3/matherr.3:429
6331 msgid "B<fenv>(3), B<math_error>(7), B<standards>(7)"
6335 #: build/C/man3/modf.3:33
6341 #: build/C/man3/modf.3:37
6343 "modf, modff, modfl - extract signed integral and fractional values from "
6344 "floating-point number"
6348 #: build/C/man3/modf.3:42
6350 msgid "B<double modf(double >I<x>B<, double *>I<iptr>B<);>\n"
6354 #: build/C/man3/modf.3:44
6356 msgid "B<float modff(float >I<x>B<, float *>I<iptr>B<);>\n"
6360 #: build/C/man3/modf.3:46
6362 msgid "B<long double modfl(long double >I<x>B<, long double *>I<iptr>B<);>\n"
6366 #: build/C/man3/modf.3:58
6367 msgid "B<modf>(), B<modfl>():"
6371 #: build/C/man3/modf.3:76
6373 "The B<modf>() function breaks the argument I<x> into an integral part and a "
6374 "fractional part, each of which has the same sign as I<x>. The integral part "
6375 "is stored in the location pointed to by I<iptr>."
6379 #: build/C/man3/modf.3:81
6380 msgid "The B<modf>() function returns the fractional part of I<x>."
6384 #: build/C/man3/modf.3:87
6385 msgid "If I<x> is a NaN, a NaN is returned, and I<*iptr> is set to a NaN."
6389 #: build/C/man3/modf.3:93
6391 "If I<x> is positive infinity (negative infinity), +0 (-0) is returned, and "
6392 "I<*iptr> is set to positive infinity (negative infinity)."
6396 #: build/C/man3/modf.3:103
6397 msgid "The B<modf>(), B<modff>(), and B<modfl>() functions are thread-safe."
6401 #: build/C/man3/modf.3:112
6402 msgid "B<frexp>(3), B<ldexp>(3)"
6406 #: build/C/man3/nan.3:11
6412 #: build/C/man3/nan.3:14
6413 msgid "nan, nanf, nanl - return 'Not a Number'"
6417 #: build/C/man3/nan.3:18
6418 msgid "B<double nan(const char *>I<tagp>B<);>"
6422 #: build/C/man3/nan.3:20
6423 msgid "B<float nanf(const char *>I<tagp>B<);>"
6427 #: build/C/man3/nan.3:22
6428 msgid "B<long double nanl(const char *>I<tagp>B<);>"
6432 #: build/C/man3/nan.3:34
6433 msgid "B<nan>(), B<nanf>(), B<nanl>():"
6437 #: build/C/man3/nan.3:48
6439 "These functions return a representation (determined by I<tagp>) of a quiet "
6440 "NaN. If the implementation does not support quiet NaNs, these functions "
6445 #: build/C/man3/nan.3:52
6446 msgid "The call I<nan(\"char-sequence\")> is equivalent to:"
6450 #: build/C/man3/nan.3:55
6452 msgid " strtod(\"NAN(char-sequence)\", NULL);\n"
6456 #: build/C/man3/nan.3:65
6458 "Similarly, calls to B<nanf>() and B<nanl>() are equivalent to analogous "
6459 "calls to B<strtof>(3) and B<strtold>(3)."
6463 #: build/C/man3/nan.3:73
6465 "The argument I<tagp> is used in an unspecified manner. On IEEE 754 systems, "
6466 "there are many representations of NaN, and I<tagp> selects one. On other "
6467 "systems it may do nothing."
6471 #: build/C/man3/nan.3:79
6473 "C99, POSIX.1-2001. See also IEC 559 and the appendix with recommended "
6474 "functions in IEEE 754/IEEE 854."
6478 #: build/C/man3/nan.3:83
6479 msgid "B<isnan>(3), B<strtod>(3), B<math_error>(7)"
6483 #: build/C/man3/nextafter.3:11
6489 #: build/C/man3/nextafter.3:11
6495 #: build/C/man3/nextafter.3:15
6497 "nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl - "
6498 "floating-point number manipulation"
6502 #: build/C/man3/nextafter.3:19
6503 msgid "B<double nextafter(double >I<x>B<, double >I<y>B<);>"
6507 #: build/C/man3/nextafter.3:21
6508 msgid "B<float nextafterf(float >I<x>B<, float >I<y>B<);>"
6512 #: build/C/man3/nextafter.3:23
6513 msgid "B<long double nextafterl(long double >I<x>B<, long double >I<y>B<);>"
6517 #: build/C/man3/nextafter.3:25
6518 msgid "B<double nexttoward(double >I<x>B<, long double >I<y>B<);>"
6522 #: build/C/man3/nextafter.3:27
6523 msgid "B<float nexttowardf(float >I<x>B<, long double >I<y>B<);>"
6527 #: build/C/man3/nextafter.3:29
6528 msgid "B<long double nexttowardl(long double >I<x>B<, long double >I<y>B<);>"
6532 #: build/C/man3/nextafter.3:39
6533 msgid "B<nextafter>():"
6537 #: build/C/man3/nextafter.3:51
6538 msgid "B<nextafterf>(), B<nextafterl>():"
6542 #: build/C/man3/nextafter.3:62
6543 msgid "B<nexttoward>(), B<nexttowardf>(), B<nexttowardl>():"
6547 #: build/C/man3/nextafter.3:86
6549 "The B<nextafter>(), B<nextafterf>(), and B<nextafterl>() functions return "
6550 "the next representable floating-point value following I<x> in the direction "
6551 "of I<y>. If I<y> is less than I<x>, these functions will return the largest "
6552 "representable number less than I<x>."
6556 #: build/C/man3/nextafter.3:93
6557 msgid "If I<x> equals I<y>, the functions return I<y>."
6561 #: build/C/man3/nextafter.3:104
6563 "The B<nexttoward>(), B<nexttowardf>(), and B<nexttowardl>() functions do "
6564 "the same as the corresponding B<nextafter>() functions, except that they "
6565 "have a I<long double> second argument."
6569 #: build/C/man3/nextafter.3:110
6571 "On success, these functions return the next representable floating-point "
6572 "value after I<x> in the direction of I<y>."
6576 #: build/C/man3/nextafter.3:120
6577 msgid "If I<x> equals I<y>, then I<y> (cast to the same type as I<x>) is returned."
6582 #: build/C/man3/nextafter.3:140
6584 "If I<x> is finite, and the result would overflow, a range error occurs, and "
6585 "the functions return B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, "
6586 "respectively, with the correct mathematical sign."
6590 #: build/C/man3/nextafter.3:149
6592 "If I<x> is not equal to I<y>, and the correct function result would be "
6593 "subnormal, zero, or underflow, a range error occurs, and either the correct "
6594 "value (if it can be represented), or 0.0, is returned."
6598 #: build/C/man3/nextafter.3:165
6600 msgid "Range error: result is subnormal or underflows"
6604 #: build/C/man3/nextafter.3:190
6606 "The B<nextafter>(), B<nextafterf>(), B<nextafterl>(), B<nexttoward>(), "
6607 "B<nexttowardf>(), and B<nexttowardl>() functions are thread-safe."
6611 #: build/C/man3/nextafter.3:199
6613 "In glibc version 2.5 and earlier, these functions do not raise an underflow "
6614 "floating-point (B<FE_UNDERFLOW>) exception when an underflow occurs."
6618 #: build/C/man3/nextafter.3:201
6619 msgid "B<nearbyint>(3)"
6623 #: build/C/man3/pow.3:35
6629 #: build/C/man3/pow.3:38
6630 msgid "pow, powf, powl - power functions"
6634 #: build/C/man3/pow.3:43
6636 msgid "B<double pow(double >I<x>B<, double >I<y>B<);>\n"
6640 #: build/C/man3/pow.3:45
6642 msgid "B<float powf(float >I<x>B<, float >I<y>B<);>\n"
6646 #: build/C/man3/pow.3:47
6648 msgid "B<long double powl(long double >I<x>B<, long double >I<y>B<);>\n"
6652 #: build/C/man3/pow.3:59
6653 msgid "B<powf>(), B<powl>():"
6657 #: build/C/man3/pow.3:75
6659 "The B<pow>() function returns the value of I<x> raised to the power of "
6664 #: build/C/man3/pow.3:80
6665 msgid "On success, these functions return the value of I<x> to the power of I<y>."
6668 #. The domain error is generated at least as far back as glibc 2.4
6670 #: build/C/man3/pow.3:88
6672 "If I<x> is a finite value less than 0, and I<y> is a finite noninteger, a "
6673 "domain error occurs, and a NaN is returned."
6676 #. The range error is generated at least as far back as glibc 2.4
6678 #: build/C/man3/pow.3:98
6680 "If the result overflows, a range error occurs, and the functions return "
6681 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the "
6682 "mathematically correct sign."
6685 #. POSIX.1 does not specify the sign of the zero,
6686 #. but http://sources.redhat.com/bugzilla/show_bug.cgi?id=2678
6687 #. points out that the zero has the wrong sign in some cases.
6689 #: build/C/man3/pow.3:105
6691 "If result underflows, and is not representable, a range error occurs, and "
6696 #: build/C/man3/pow.3:111
6697 msgid "Except as specified below, if I<x> or I<y> is a NaN, the result is a NaN."
6701 #: build/C/man3/pow.3:117
6702 msgid "If I<x> is +1, the result is 1.0 (even if I<y> is a NaN)."
6706 #: build/C/man3/pow.3:123
6707 msgid "If I<y> is 0, the result is 1.0 (even if I<x> is a NaN)."
6711 #: build/C/man3/pow.3:131
6713 "If I<x> is +0 (-0), and I<y> is an odd integer greater than 0, the result is "
6718 #: build/C/man3/pow.3:139
6720 "If I<x> is 0, and I<y> greater than 0 and not an odd integer, the result is "
6725 #: build/C/man3/pow.3:147
6727 "If I<x> is -1, and I<y> is positive infinity or negative infinity, the "
6732 #: build/C/man3/pow.3:155
6734 "If the absolute value of I<x> is less than 1, and I<y> is negative infinity, "
6735 "the result is positive infinity."
6739 #: build/C/man3/pow.3:163
6741 "If the absolute value of I<x> is greater than 1, and I<y> is negative "
6742 "infinity, the result is +0."
6746 #: build/C/man3/pow.3:171
6748 "If the absolute value of I<x> is less than 1, and I<y> is positive infinity, "
6753 #: build/C/man3/pow.3:179
6755 "If the absolute value of I<x> is greater than 1, and I<y> is positive "
6756 "infinity, the result is positive infinity."
6760 #: build/C/man3/pow.3:187
6762 "If I<x> is negative infinity, and I<y> is an odd integer less than 0, the "
6767 #: build/C/man3/pow.3:195
6769 "If I<x> is negative infinity, and I<y> less than 0 and not an odd integer, "
6774 #: build/C/man3/pow.3:203
6776 "If I<x> is negative infinity, and I<y> is an odd integer greater than 0, the "
6777 "result is negative infinity."
6781 #: build/C/man3/pow.3:211
6783 "If I<x> is negative infinity, and I<y> greater than 0 and not an odd "
6784 "integer, the result is positive infinity."
6788 #: build/C/man3/pow.3:219
6789 msgid "If I<x> is positive infinity, and I<y> less than 0, the result is +0."
6793 #: build/C/man3/pow.3:227
6795 "If I<x> is positive infinity, and I<y> greater than 0, the result is "
6796 "positive infinity."
6800 #: build/C/man3/pow.3:242
6802 "If I<x> is +0 or -0, and I<y> is an odd integer less than 0, a pole error "
6803 "occurs and B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, is returned, with the "
6804 "same sign as I<x>."
6807 #. The pole error is generated at least as far back as glibc 2.4
6809 #: build/C/man3/pow.3:256
6811 "If I<x> is +0 or -0, and I<y> is less than 0 and not an odd integer, a pole "
6812 "error occurs and +B<HUGE_VAL>, +B<HUGE_VALF>, or +B<HUGE_VALL>, is returned."
6816 #: build/C/man3/pow.3:283
6818 msgid "Domain error: I<x> is negative, and I<y> is a finite noninteger"
6822 #: build/C/man3/pow.3:291
6824 msgid "Pole error: I<x> is zero, and I<y> is negative"
6828 #: build/C/man3/pow.3:300
6830 msgid "Range error: the result overflows"
6834 #: build/C/man3/pow.3:308
6836 msgid "Range error: the result underflows"
6840 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6776
6841 #. or possibly 2.9, I haven't found the source code change
6842 #. and I don't have a 2.9 system to test
6844 #: build/C/man3/pow.3:336
6846 "In glibc 2.9 and earlier, when a pole error occurs, I<errno> is set to "
6847 "B<EDOM> instead of the POSIX-mandated B<ERANGE>. Since version 2.10, glibc "
6848 "does the right thing."
6851 #. see bug http://sources.redhat.com/bugzilla/show_bug.cgi?id=3866
6852 #. and http://sources.redhat.com/bugzilla/show_bug.cgi?id=369
6854 #: build/C/man3/pow.3:356
6856 "If I<x> is negative, then large negative or positive I<y> values yield a NaN "
6857 "as the function result, with I<errno> set to B<EDOM>, and an invalid "
6858 "(B<FE_INVALID>) floating-point exception. For example, with B<pow>(), one "
6859 "sees this behavior when the absolute value of I<y> is greater than about "
6863 #. FIXME . Actually, 2.3.2 is the earliest test result I have; so yet
6864 #. to confirm if this error occurs only in 2.3.2.
6866 #: build/C/man3/pow.3:365
6868 "In version 2.3.2 and earlier, when an overflow or underflow error occurs, "
6869 "glibc's B<pow>() generates a bogus invalid floating-point exception "
6870 "(B<FE_INVALID>) in addition to the overflow or underflow exception."
6874 #: build/C/man3/pow.3:369
6875 msgid "B<cbrt>(3), B<cpow>(3), B<sqrt>(3)"
6879 #: build/C/man3/pow10.3:25
6885 #: build/C/man3/pow10.3:28
6886 msgid "pow10, pow10f, pow10l - base-10 power functions"
6890 #: build/C/man3/pow10.3:32 build/C/man3/sincos.3:16
6893 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
6894 "B<#include E<lt>math.hE<gt>>\n"
6898 #: build/C/man3/pow10.3:34
6900 msgid "B<double pow10(double >I<x>B<);>\n"
6904 #: build/C/man3/pow10.3:36
6906 msgid "B<float pow10f(float >I<x>B<);>\n"
6910 #: build/C/man3/pow10.3:38
6912 msgid "B<long double pow10l(long double >I<x>B<);>\n"
6916 #: build/C/man3/pow10.3:47
6917 msgid "The B<pow10>() function returns the value of 10 raised to the power I<x>."
6921 #: build/C/man3/pow10.3:51
6922 msgid "This is a GNU extension."
6926 #: build/C/man3/pow10.3:54
6927 msgid "These functions are identical to the functions listed under B<exp10>(3)."
6931 #: build/C/man3/pow10.3:57
6932 msgid "B<exp10>(3), B<pow>(3)"
6936 #: build/C/man3/remainder.3:37
6942 #: build/C/man3/remainder.3:41
6944 "drem, dremf, dreml, remainder, remainderf, remainderl - floating-point "
6945 "remainder function"
6949 #: build/C/man3/remainder.3:49
6952 "/* The C99 versions */\n"
6953 "B<double remainder(double >I<x>B<, double >I<y>B<);>\n"
6954 "B<float remainderf(float >I<x>B<, float >I<y>B<);>\n"
6955 "B<long double remainderl(long double >I<x>B<, long double >I<y>B<);>\n"
6959 #: build/C/man3/remainder.3:54
6962 "/* Obsolete synonyms */\n"
6963 "B<double drem(double >I<x>B<, double >I<y>B<);>\n"
6964 "B<float dremf(float >I<x>B<, float >I<y>B<);>\n"
6965 "B<long double dreml(long double >I<x>B<, long double >I<y>B<);>\n"
6969 #: build/C/man3/remainder.3:65
6970 msgid "B<remainder>():"
6974 #: build/C/man3/remainder.3:70
6976 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
6977 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || "
6978 "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
6982 #: build/C/man3/remainder.3:77
6983 msgid "B<remainderf>(), B<remainderl>():"
6987 #: build/C/man3/remainder.3:88
6988 msgid "B<drem>(), B<dremf>(), B<dreml>():"
6992 #: build/C/man3/remainder.3:90 build/C/man3/significand.3:35
6993 msgid "_SVID_SOURCE || _BSD_SOURCE"
6997 #: build/C/man3/remainder.3:111
6999 "The B<remainder>() function computes the remainder of dividing I<x> by "
7000 "I<y>. The return value is I<x>-I<n>*I<y>, where I<n> is the value I<x\\ /\\ "
7001 "y>, rounded to the nearest integer. If the absolute value of I<x>-I<n>*I<y> "
7002 "is 0.5, I<n> is chosen to be even."
7006 #: build/C/man3/remainder.3:114
7008 "These functions are unaffected by the current rounding mode (see "
7013 #: build/C/man3/remainder.3:118
7014 msgid "The B<drem>() function does precisely the same thing."
7018 #: build/C/man3/remainder.3:124
7020 "On success, these functions return the floating-point remainder, "
7021 "I<x>-I<n>*I<y>. If the return value is 0, it has the sign of I<x>."
7025 #: build/C/man3/remainder.3:139 build/C/man3/remquo.3:92
7027 "If I<x> is an infinity, and I<y> is not a NaN, a domain error occurs, and a "
7032 #: build/C/man3/remainder.3:150 build/C/man3/remquo.3:101
7034 "If I<y> is zero, and I<x> is not a NaN, a domain error occurs, and a NaN is "
7039 #: build/C/man3/remainder.3:157
7041 msgid "Domain error: I<x> is an infinity and I<y> is not a NaN"
7046 #: build/C/man3/remainder.3:188
7048 "The functions B<remainder>(), B<remainderf>(), and B<remainderl>() are "
7049 "specified in C99 and POSIX.1-2001."
7053 #: build/C/man3/remainder.3:204
7055 "The function B<drem>() is from 4.3BSD. The I<float> and I<long double> "
7056 "variants B<dremf>() and B<dreml>() exist on some systems, such as Tru64 "
7057 "and glibc2. Avoid the use of these functions in favor of B<remainder>() "
7062 #: build/C/man3/remainder.3:206
7067 #: build/C/man3/remainder.3:208
7069 msgid " remainder(nan(\"\"), 0);\n"
7072 #. FIXME . this bug occurs as at glibc 2.8.
7073 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6779
7075 #: build/C/man3/remainder.3:213
7077 "returns a NaN, as expected, but wrongly causes a domain error; it should "
7078 "yield a silent NaN."
7082 #: build/C/man3/remainder.3:215
7083 msgid "The call \"remainder(29.0, 3.0)\" returns -1."
7087 #: build/C/man3/remainder.3:219
7088 msgid "B<div>(3), B<fmod>(3), B<remquo>(3)"
7092 #: build/C/man3/remquo.3:12
7098 #: build/C/man3/remquo.3:12
7104 #: build/C/man3/remquo.3:15
7105 msgid "remquo, remquof, remquol - remainder and part of quotient"
7109 #: build/C/man3/remquo.3:20
7111 msgid "B<double remquo(double >I<x>B<, double >I<y>B<, int *>I<quo>B<);>\n"
7115 #: build/C/man3/remquo.3:22
7117 msgid "B<float remquof(float >I<x>B<, float >I<y>B<, int *>I<quo>B<);>\n"
7121 #: build/C/man3/remquo.3:24
7124 "B<long double remquol(long double >I<x>B<, long double >I<y>B<, int "
7129 #: build/C/man3/remquo.3:37
7130 msgid "B<remquo>(), B<remquof>(), B<remquol>():"
7134 #: build/C/man3/remquo.3:55
7136 "These functions compute the remainder and part of the quotient upon division "
7137 "of I<x> by I<y>. A few bits of the quotient are stored via the I<quo> "
7138 "pointer. The remainder is returned as the function result."
7142 #: build/C/man3/remquo.3:59
7144 "The value of the remainder is the same as that computed by the "
7145 "B<remainder>(3) function."
7149 #: build/C/man3/remquo.3:65
7151 "The value stored via the I<quo> pointer has the sign of I<x\\ /\\ y> and "
7152 "agrees with the quotient in at least the low order 3 bits."
7155 #. A possible application of this function might be the computation
7156 #. of sin(x). Compute remquo(x, pi/2, &quo) or so.
7158 #. glibc, UnixWare: return 3 bits
7159 #. MacOS 10: return 7 bits
7161 #: build/C/man3/remquo.3:73
7163 "For example, I<remquo(29.0,\\ 3.0)> returns -1.0 and might store 2. Note "
7164 "that the actual quotient might not fit in an integer."
7168 #: build/C/man3/remquo.3:77
7170 "On success, these functions return the same value as the analogous functions "
7171 "described in B<remainder>(3)."
7175 #: build/C/man3/remquo.3:108
7178 "Domain error: I<x> is an infinity or I<y> is 0, and the other argument is "
7183 #: build/C/man3/remquo.3:132
7184 msgid "The B<remquo>(), B<remquof>(), and B<remquol>() functions are thread-safe."
7188 #: build/C/man3/remquo.3:138
7189 msgid "B<fmod>(3), B<logb>(3), B<remainder>(3)"
7193 #: build/C/man3/rint.3:27
7199 #: build/C/man3/rint.3:31
7201 "nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest "
7206 #: build/C/man3/rint.3:36
7208 msgid "B<double nearbyint(double >I<x>B<);>\n"
7212 #: build/C/man3/rint.3:38
7214 msgid "B<float nearbyintf(float >I<x>B<);>\n"
7218 #: build/C/man3/rint.3:40
7220 msgid "B<long double nearbyintl(long double >I<x>B<);>\n"
7224 #: build/C/man3/rint.3:42
7226 msgid "B<double rint(double >I<x>B<);>\n"
7230 #: build/C/man3/rint.3:44
7232 msgid "B<float rintf(float >I<x>B<);>\n"
7236 #: build/C/man3/rint.3:46
7238 msgid "B<long double rintl(long double >I<x>B<);>\n"
7242 #: build/C/man3/rint.3:59
7243 msgid "B<nearbyint>(), B<nearbyintf>(), B<nearbyintl>():"
7247 #: build/C/man3/rint.3:61
7249 "_XOPEN_SOURCE\\ E<gt>=\\ 600 || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L || "
7254 #: build/C/man3/rint.3:67
7259 #: build/C/man3/rint.3:78
7260 msgid "B<rintf>(), B<rintl>():"
7264 #: build/C/man3/rint.3:98
7266 "The B<nearbyint>(), B<nearbyintf>(), and B<nearbyintl>() functions round "
7267 "their argument to an integer value in floating-point format, using the "
7268 "current rounding direction (see B<fesetround>(3)) and without raising the "
7269 "I<inexact> exception."
7273 #: build/C/man3/rint.3:111
7275 "The B<rint>(), B<rintf>(), and B<rintl>() functions do the same, but will "
7276 "raise the I<inexact> exception (B<FE_INEXACT>, checkable via "
7277 "B<fetestexcept>(3)) when the result differs in value from the argument."
7281 #: build/C/man3/rint.3:133
7283 "The B<nearbyint>(), B<nearbyintf>(), B<nearbyintl>(), B<rint>(), B<rintf>(), "
7284 "and B<rintl>() functions are thread-safe."
7288 #: build/C/man3/rint.3:155
7290 "If you want to store the rounded value in an integer type, you probably want "
7291 "to use one of the functions described in B<lrint>(3) instead."
7295 #: build/C/man3/rint.3:161
7296 msgid "B<ceil>(3), B<floor>(3), B<lrint>(3), B<round>(3), B<trunc>(3)"
7300 #: build/C/man3/round.3:27
7306 #: build/C/man3/round.3:30
7307 msgid "round, roundf, roundl - round to nearest integer, away from zero"
7311 #: build/C/man3/round.3:35
7313 msgid "B<double round(double >I<x>B<);>\n"
7317 #: build/C/man3/round.3:37
7319 msgid "B<float roundf(float >I<x>B<);>\n"
7323 #: build/C/man3/round.3:39
7325 msgid "B<long double roundl(long double >I<x>B<);>\n"
7329 #: build/C/man3/round.3:52
7330 msgid "B<round>(), B<roundf>(), B<roundl>():"
7334 #: build/C/man3/round.3:69
7336 "These functions round I<x> to the nearest integer, but round halfway cases "
7337 "away from zero (regardless of the current rounding direction, see "
7338 "B<fenv>(3)), instead of to the nearest even integer like B<rint>(3)."
7342 #: build/C/man3/round.3:75
7343 msgid "For example, I<round(0.5)> is 1.0, and I<round(-0.5)> is -1.0."
7347 #: build/C/man3/round.3:96
7348 msgid "The B<round>(), B<roundf>(), and B<roundl>() functions are thread-safe."
7351 #. The POSIX.1-2001 APPLICATION USAGE SECTION discusses this point.
7353 #: build/C/man3/round.3:114
7355 "POSIX.1-2001 contains text about overflow (which might set I<errno> to "
7356 "B<ERANGE>, or raise an B<FE_OVERFLOW> exception). In practice, the result "
7357 "cannot overflow on any current machine, so this error-handling stuff is just "
7358 "nonsense. (More precisely, overflow can happen only when the maximum value "
7359 "of the exponent is smaller than the number of mantissa bits. For the "
7360 "IEEE-754 standard 32-bit and 64-bit floating-point numbers the maximum value "
7361 "of the exponent is 128 (respectively, 1024), and the number of mantissa bits "
7362 "is 24 (respectively, 53).)"
7366 #: build/C/man3/round.3:119
7368 "If you want to store the rounded value in an integer type, you probably want "
7369 "to use one of the functions described in B<lround>(3) instead."
7373 #: build/C/man3/round.3:126
7375 "B<ceil>(3), B<floor>(3), B<lround>(3), B<nearbyint>(3), B<rint>(3), "
7380 #: build/C/man3/scalb.3:27
7386 #: build/C/man3/scalb.3:27
7392 #: build/C/man3/scalb.3:31
7394 "scalb, scalbf, scalbl - multiply floating-point number by integral power of "
7399 #: build/C/man3/scalb.3:35
7400 msgid "B<double scalb(double >I<x>B<, double >I<exp>B<);>"
7404 #: build/C/man3/scalb.3:37
7405 msgid "B<float scalbf(float >I<x>B<, float >I<exp>B<);>"
7409 #: build/C/man3/scalb.3:39
7410 msgid "B<long double scalbl(long double >I<x>B<, long double >I<exp>B<);>"
7414 #: build/C/man3/scalb.3:49
7419 #: build/C/man3/scalb.3:52
7421 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
7422 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
7426 #: build/C/man3/scalb.3:56
7427 msgid "B<scalbf>(), B<scalbl>():"
7431 #: build/C/man3/scalb.3:69 build/C/man3/scalbln.3:85
7433 "These functions multiply their first argument I<x> by B<FLT_RADIX> (probably "
7434 "2) to the power of I<exp>, that is:"
7438 #: build/C/man3/scalb.3:72 build/C/man3/scalbln.3:88
7440 msgid " x * FLT_RADIX ** exp\n"
7443 #. not in /usr/include but in a gcc lib
7445 #: build/C/man3/scalb.3:79 build/C/man3/scalbln.3:95
7447 "The definition of B<FLT_RADIX> can be obtained by including "
7448 "I<E<lt>float.hE<gt>>."
7452 #: build/C/man3/scalb.3:86 build/C/man3/scalbln.3:102
7453 msgid "On success, these functions return I<x> * B<FLT_RADIX> ** I<exp>."
7457 #: build/C/man3/scalb.3:92
7458 msgid "If I<x> or I<exp> is a NaN, a NaN is returned."
7462 #: build/C/man3/scalb.3:100
7464 "If I<x> is positive infinity (negative infinity), and I<exp> is not negative "
7465 "infinity, positive infinity (negative infinity) is returned."
7469 #: build/C/man3/scalb.3:106
7471 "If I<x> is +0 (-0), and I<exp> is not positive infinity, +0 (-0) is "
7476 #: build/C/man3/scalb.3:114
7478 "If I<x> is zero, and I<exp> is positive infinity, a domain error occurs, and "
7479 "a NaN is returned."
7483 #: build/C/man3/scalb.3:123
7485 "If I<x> is an infinity, and I<exp> is negative infinity, a domain error "
7486 "occurs, and a NaN is returned."
7490 #: build/C/man3/scalb.3:138 build/C/man3/scalbln.3:130
7492 "If the result underflows, a range error occurs, and the functions return "
7493 "zero, with a sign the same as I<x>."
7497 #: build/C/man3/scalb.3:145
7500 "Domain error: I<x> is 0, and I<exp> is positive infinity, or I<x> is "
7501 "positive infinity and I<exp> is negative infinity and the other argument is "
7506 #: build/C/man3/scalb.3:191
7508 "B<scalb>() is specified in POSIX.1-2001, but marked obsolescent. "
7509 "POSIX.1-2008 removes the specification of B<scalb>(), recommending the use "
7510 "of B<scalbln>(3), B<scalblnf>(3), or B<scalblnl>(3) instead. The "
7511 "B<scalb>() function is from 4.3BSD."
7514 #. Looking at header files: scalbf() is present on the
7515 #. BSDs, Tru64, HP-UX 11, Irix 6.5; scalbl() is on HP-UX 11 and Tru64.
7517 #: build/C/man3/scalb.3:200
7519 "B<scalbf>() and B<scalbl>() are unstandardized; B<scalbf>() is "
7520 "nevertheless present on several other systems"
7524 #: build/C/man3/scalb.3:203
7525 msgid "B<ldexp>(3), B<scalbln>(3)"
7529 #: build/C/man3/scalbln.3:27
7535 #: build/C/man3/scalbln.3:31
7537 "scalbn, scalbnf, scalbnl, scalbln, scalblnf, scalblnl - multiply "
7538 "floating-point number by integral power of radix"
7542 #: build/C/man3/scalbln.3:35
7543 msgid "B<double scalbln(double >I<x>B<, long int >I<exp>B<);>"
7547 #: build/C/man3/scalbln.3:37
7548 msgid "B<float scalblnf(float >I<x>B<, long int >I<exp>B<);>"
7552 #: build/C/man3/scalbln.3:39
7553 msgid "B<long double scalblnl(long double >I<x>B<, long int >I<exp>B<);>"
7557 #: build/C/man3/scalbln.3:41
7558 msgid "B<double scalbn(double >I<x>B<, int >I<exp>B<);>"
7562 #: build/C/man3/scalbln.3:43
7563 msgid "B<float scalbnf(float >I<x>B<, int >I<exp>B<);>"
7567 #: build/C/man3/scalbln.3:45
7568 msgid "B<long double scalbnl(long double >I<x>B<, int >I<exp>B<);>"
7572 #: build/C/man3/scalbln.3:57
7573 msgid "B<scalbln>(), B<scalblnf>(), B<scalblnl>():"
7577 #: build/C/man3/scalbln.3:68
7578 msgid "B<scalbn>(), B<scalbnf>(), B<scalbnl>():"
7582 #: build/C/man3/scalbln.3:171
7584 "The B<scalbn>(), B<scalbnf>(), B<scalbnl>(), B<scalbln>(), B<scalblnf>(), "
7585 "and B<scalblnl>() functions are thread-safe."
7589 #: build/C/man3/scalbln.3:182
7591 "These functions differ from the obsolete functions described in B<scalb>(3) "
7592 "in the type of their second argument. The functions described on this page "
7593 "have a second argument of an integral type, while those in B<scalb>(3) have "
7594 "a second argument of type I<double>."
7598 #: build/C/man3/scalbln.3:189
7600 "If B<FLT_RADIX> equals 2 (which is usual), then B<scalbn>() is equivalent "
7605 #: build/C/man3/scalbln.3:192
7606 msgid "B<ldexp>(3), B<scalb>(3)"
7610 #: build/C/man3/signbit.3:11
7616 #: build/C/man3/signbit.3:11
7622 #: build/C/man3/signbit.3:14
7623 msgid "signbit - test sign of a real floating-point number"
7627 #: build/C/man3/signbit.3:18
7628 msgid "B<int signbit(>I<x>B<);>"
7632 #: build/C/man3/signbit.3:28
7633 msgid "B<signbit>():"
7637 #: build/C/man3/signbit.3:42
7639 "B<signbit>() is a generic macro which can work on all real floating-point "
7640 "types. It returns a nonzero value if the value of I<x> has its sign bit "
7645 #: build/C/man3/signbit.3:51
7647 "This is not the same as I<x E<lt> 0.0>, because IEEE 754 floating point "
7648 "allows zero to be signed. The comparison I<-0.0 E<lt> 0.0> is false, but "
7649 "I<signbit(-0.0)> will return a nonzero value."
7653 #: build/C/man3/signbit.3:53
7654 msgid "NaNs and infinities have a sign bit."
7658 #: build/C/man3/signbit.3:59
7660 "The B<signbit>() macro returns nonzero if the sign of I<x> is negative; "
7661 "otherwise it returns zero."
7665 #: build/C/man3/signbit.3:66
7666 msgid "The B<signbit>() macro is thread-safe."
7670 #: build/C/man3/signbit.3:72
7671 msgid "B<copysign>(3)"
7675 #: build/C/man3/significand.3:9
7681 #: build/C/man3/significand.3:9
7687 #: build/C/man3/significand.3:13
7689 "significand, significandf, significandl - get mantissa of floating-point "
7694 #: build/C/man3/significand.3:17
7695 msgid "B<double significand(double >I<x>B<);>"
7699 #: build/C/man3/significand.3:19
7700 msgid "B<float significandf(float >I<x>B<);>"
7704 #: build/C/man3/significand.3:21
7705 msgid "B<long double significandl(long double >I<x>B<);>"
7709 #: build/C/man3/significand.3:33
7710 msgid "B<significand>(), B<significandf>(), B<significandl>():"
7714 #: build/C/man3/significand.3:44
7716 "The B<significand>() function returns the mantissa of I<x> scaled to the "
7717 "range [1,2). It is equivalent to"
7721 #: build/C/man3/significand.3:47
7722 msgid "scalb(x, (double) -ilogb(x))"
7726 #: build/C/man3/significand.3:51
7728 "This function exists mainly for use in certain standardized tests for IEEE "
7733 #. This function came from BSD.
7735 #: build/C/man3/significand.3:57
7737 "These functions are nonstandard; the I<double> version is available on a "
7738 "number of other systems."
7742 #: build/C/man3/significand.3:60
7743 msgid "B<ilogb>(3), B<scalb>(3)"
7747 #: build/C/man3/sin.3:35
7753 #: build/C/man3/sin.3:35
7759 #: build/C/man3/sin.3:38
7760 msgid "sin, sinf, sinl - sine function"
7764 #: build/C/man3/sin.3:43
7766 msgid "B<double sin(double >I<x>B<);>\n"
7770 #: build/C/man3/sin.3:45
7772 msgid "B<float sinf(float >I<x>B<);>\n"
7776 #: build/C/man3/sin.3:47
7778 msgid "B<long double sinl(long double >I<x>B<);>\n"
7782 #: build/C/man3/sin.3:59
7783 msgid "B<sinf>(), B<sinl>():"
7787 #: build/C/man3/sin.3:76
7789 "The B<sin>() function returns the sine of I<x>, where I<x> is given in "
7794 #: build/C/man3/sin.3:79
7795 msgid "On success, these functions return the sine of I<x>."
7799 #: build/C/man3/sin.3:116
7800 msgid "The B<sin>(), B<sinf>(), and B<sinl>() functions are thread-safe."
7804 #: build/C/man3/sin.3:138
7806 "B<acos>(3), B<asin>(3), B<atan>(3), B<atan2>(3), B<cos>(3), B<csin>(3), "
7807 "B<sincos>(3), B<tan>(3)"
7811 #: build/C/man3/sincos.3:9
7817 #: build/C/man3/sincos.3:9
7823 #: build/C/man3/sincos.3:12
7824 msgid "sincos, sincosf, sincosl - calculate sin and cos simultaneously"
7828 #: build/C/man3/sincos.3:18
7830 msgid "B<void sincos(double >I<x>B<, double *>I<sin>B<, double *>I<cos>B<);>\n"
7834 #: build/C/man3/sincos.3:20
7836 msgid "B<void sincosf(float >I<x>B<, float *>I<sin>B<, float *>I<cos>B<);>\n"
7840 #: build/C/man3/sincos.3:22
7843 "B<void sincosl(long double >I<x>B<, long double *>I<sin>B<, long double "
7848 #: build/C/man3/sincos.3:32
7850 "Several applications need sine and cosine of the same angle I<x>. This "
7851 "function computes both at the same time, and stores the results in I<*sin> "
7856 #: build/C/man3/sincos.3:40
7857 msgid "If I<x> is a NaN, a NaN is returned in I<*sin> and I<*cos>."
7861 #: build/C/man3/sincos.3:49
7863 "If I<x> is positive infinity or negative infinity, a domain error occurs, "
7864 "and a NaN is returned in I<*sin> and I<*cos>."
7868 #: build/C/man3/sincos.3:52
7869 msgid "These functions return I<void>."
7873 #: build/C/man3/sincos.3:84
7874 msgid "The B<sincos>(), B<sincosf>(), and B<sincosl>() functions are thread-safe."
7878 #: build/C/man3/sincos.3:86
7879 msgid "This function is a GNU extension."
7883 #: build/C/man3/sincos.3:90
7884 msgid "B<cos>(3), B<sin>(3), B<tan>(3)"
7888 #: build/C/man3/sinh.3:36
7894 #: build/C/man3/sinh.3:39
7895 msgid "sinh, sinhf, sinhl - hyperbolic sine function"
7899 #: build/C/man3/sinh.3:44
7901 msgid "B<double sinh(double >I<x>B<);>\n"
7905 #: build/C/man3/sinh.3:46
7907 msgid "B<float sinhf(float >I<x>B<);>\n"
7911 #: build/C/man3/sinh.3:48
7913 msgid "B<long double sinhl(long double >I<x>B<);>\n"
7917 #: build/C/man3/sinh.3:60
7918 msgid "B<sinhf>(), B<sinhl>():"
7922 #: build/C/man3/sinh.3:75
7924 "The B<sinh>() function returns the hyperbolic sine of I<x>, which is "
7925 "defined mathematically as:"
7929 #: build/C/man3/sinh.3:78
7931 msgid " sinh(x) = (exp(x) - exp(-x)) / 2\n"
7935 #: build/C/man3/sinh.3:82
7936 msgid "On success, these functions return the hyperbolic sine of I<x>."
7940 #. POSIX.1-2001 documents an optional range error (underflow)
7942 #. glibc 2.8 does not do this.
7944 #: build/C/man3/sinh.3:109
7946 "If the result overflows, a range error occurs, and the functions return "
7947 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the same sign "
7952 #: build/C/man3/sinh.3:137
7953 msgid "B<acosh>(3), B<asinh>(3), B<atanh>(3), B<cosh>(3), B<csinh>(3), B<tanh>(3)"
7957 #: build/C/man3/sqrt.3:34
7963 #: build/C/man3/sqrt.3:37
7964 msgid "sqrt, sqrtf, sqrtl - square root function"
7968 #: build/C/man3/sqrt.3:42
7970 msgid "B<double sqrt(double >I<x>B<);>\n"
7974 #: build/C/man3/sqrt.3:44
7976 msgid "B<float sqrtf(float >I<x>B<);>\n"
7980 #: build/C/man3/sqrt.3:46
7982 msgid "B<long double sqrtl(long double >I<x>B<);>\n"
7986 #: build/C/man3/sqrt.3:58
7987 msgid "B<sqrtf>(), B<sqrtl>():"
7991 #: build/C/man3/sqrt.3:71
7992 msgid "The B<sqrt>() function returns the nonnegative square root of I<x>."
7996 #: build/C/man3/sqrt.3:74
7997 msgid "On success, these functions return the square root of I<x>."
8001 #: build/C/man3/sqrt.3:92
8002 msgid "If I<x> is less than -0, a domain error occurs, and a NaN is returned."
8006 #: build/C/man3/sqrt.3:99
8008 msgid "Domain error: I<x> less than -0"
8012 #: build/C/man3/sqrt.3:117
8013 msgid "B<cbrt>(3), B<csqrt>(3), B<hypot>(3)"
8017 #: build/C/man3/tan.3:35
8023 #: build/C/man3/tan.3:35
8029 #: build/C/man3/tan.3:38
8030 msgid "tan, tanf, tanl - tangent function"
8034 #: build/C/man3/tan.3:43
8036 msgid "B<double tan(double >I<x>B<);>\n"
8040 #: build/C/man3/tan.3:45
8042 msgid "B<float tanf(float >I<x>B<);>\n"
8046 #: build/C/man3/tan.3:47
8048 msgid "B<long double tanl(long double >I<x>B<);>\n"
8052 #: build/C/man3/tan.3:59
8053 msgid "B<tanf>(), B<tanl>():"
8057 #: build/C/man3/tan.3:76
8059 "The B<tan>() function returns the tangent of I<x>, where I<x> is given in "
8064 #: build/C/man3/tan.3:79
8065 msgid "On success, these functions return the tangent of I<x>."
8068 #. I think overflow can't occur, because the closest floating-point
8069 #. representation of pi/2 is still not close enough to pi/2 to
8070 #. produce a large enough value to overflow.
8071 #. Testing certainly seems to bear this out. -- mtk, Jul 08
8073 #. POSIX.1 allows an optional underflow error;
8074 #. glibc 2.8 doesn't do this
8075 #. POSIX.1 an optional range error for subnormal x;
8076 #. glibc 2.8 doesn't do this
8078 #: build/C/man3/tan.3:107
8080 "If the correct result would overflow, a range error occurs, and the "
8081 "functions return B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, "
8082 "with the mathematically correct sign."
8086 #: build/C/man3/tan.3:141
8087 msgid "The B<tan>(), B<tanf>(), and B<tanl>() functions are thread-safe."
8091 #: build/C/man3/tan.3:162
8093 "B<acos>(3), B<asin>(3), B<atan>(3), B<atan2>(3), B<cos>(3), B<ctan>(3), "
8098 #: build/C/man3/tanh.3:35
8104 #: build/C/man3/tanh.3:35
8110 #: build/C/man3/tanh.3:38
8111 msgid "tanh, tanhf, tanhl - hyperbolic tangent function"
8115 #: build/C/man3/tanh.3:43
8117 msgid "B<double tanh(double >I<x>B<);>\n"
8121 #: build/C/man3/tanh.3:45
8123 msgid "B<float tanhf(float >I<x>B<);>\n"
8127 #: build/C/man3/tanh.3:47
8129 msgid "B<long double tanhl(long double >I<x>B<);>\n"
8133 #: build/C/man3/tanh.3:59
8134 msgid "B<tanhf>(), B<tanhl>():"
8138 #: build/C/man3/tanh.3:74
8140 "The B<tanh>() function returns the hyperbolic tangent of I<x>, which is "
8141 "defined mathematically as:"
8145 #: build/C/man3/tanh.3:77
8147 msgid " tanh(x) = sinh(x) / cosh(x)\n"
8151 #: build/C/man3/tanh.3:81
8152 msgid "On success, these functions return the hyperbolic tangent of I<x>."
8156 #: build/C/man3/tanh.3:108
8157 msgid "The B<tanh>(), B<tanhf>(), and B<tanhl>() functions are thread-safe."
8161 #: build/C/man3/tanh.3:121
8162 msgid "B<acosh>(3), B<asinh>(3), B<atanh>(3), B<cosh>(3), B<ctanh>(3), B<sinh>(3)"
8166 #: build/C/man3/tgamma.3:13
8172 #: build/C/man3/tgamma.3:16
8173 msgid "tgamma, tgammaf, tgammal - true gamma function"
8177 #: build/C/man3/tgamma.3:20
8178 msgid "B<double tgamma(double >I<x>B<);>"
8182 #: build/C/man3/tgamma.3:22
8183 msgid "B<float tgammaf(float >I<x>B<);>"
8187 #: build/C/man3/tgamma.3:24
8188 msgid "B<long double tgammal(long double >I<x>B<);>"
8192 #: build/C/man3/tgamma.3:36
8193 msgid "B<tgamma>(), B<tgammaf>(), B<tgammal>():"
8197 #: build/C/man3/tgamma.3:46
8198 msgid "The Gamma function is defined by"
8202 #: build/C/man3/tgamma.3:48
8204 msgid " Gamma(x) = integral from 0 to infinity of t^(x-1) e^-t dt\n"
8208 #: build/C/man3/tgamma.3:53
8210 "It is defined for every real number except for nonpositive integers. For "
8211 "nonnegative integral I<m> one has"
8215 #: build/C/man3/tgamma.3:55
8217 msgid " Gamma(m+1) = m!\n"
8221 #: build/C/man3/tgamma.3:58
8222 msgid "and, more generally, for all I<x>:"
8226 #: build/C/man3/tgamma.3:60
8228 msgid " Gamma(x+1) = x * Gamma(x)\n"
8232 #: build/C/man3/tgamma.3:64
8234 "Furthermore, the following is valid for all values of I<x> outside the "
8239 #: build/C/man3/tgamma.3:66
8241 msgid " Gamma(x) * Gamma(1 - x) = PI / sin(PI * x)\n"
8245 #: build/C/man3/tgamma.3:69
8246 msgid "On success, these functions return Gamma(x)."
8250 #: build/C/man3/tgamma.3:83
8252 "If I<x> is a negative integer, or is negative infinity, a domain error "
8253 "occurs, and a NaN is returned."
8257 #: build/C/man3/tgamma.3:96
8259 "If the result underflows, a range error occurs, and the functions return 0, "
8260 "with the correct mathematical sign."
8264 #: build/C/man3/tgamma.3:107
8266 "If I<x> is -0 or +0, a pole error occurs, and the functions return "
8267 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the same sign "
8272 #: build/C/man3/tgamma.3:114
8274 msgid "Domain error: I<x> is a negative integer, or negative infinity"
8277 #. FIXME . errno is not set to EDOM for x == -inf
8278 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
8280 #: build/C/man3/tgamma.3:124
8282 "I<errno> is set to B<EDOM>. An invalid floating-point exception "
8283 "(B<FE_INVALID>) is raised (but see BUGS)."
8287 #: build/C/man3/tgamma.3:124
8289 msgid "Pole error: I<x> is +0 or -0"
8293 #: build/C/man3/tgamma.3:143
8295 "glibc also gives the following error which is not specified in C99 or "
8299 #. FIXME . Is it intentional that errno is not set:
8300 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6810
8302 #. glibc (as at 2.8) also supports and an inexact
8303 #. exception for various cases.
8305 #: build/C/man3/tgamma.3:160
8306 msgid "I<errno> is not set for this case."
8310 #: build/C/man3/tgamma.3:171
8312 "This function had to be called \"true gamma function\" since there is "
8313 "already a function B<gamma>(3) that returns something else (see B<gamma>(3) "
8317 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
8319 #: build/C/man3/tgamma.3:179
8321 "If I<x> is negative infinity, I<errno> is not set (it should be set to "
8326 #: build/C/man3/tgamma.3:188
8328 "In glibc versions 2.3.3 and earlier, an argument of +0 or -0 incorrectly "
8329 "produced a domain error (I<errno> set to B<EDOM> and an B<FE_INVALID> "
8330 "exception raised), rather than a pole error."
8334 #: build/C/man3/tgamma.3:191
8335 msgid "B<gamma>(3), B<lgamma>(3)"
8339 #: build/C/man3/trunc.3:25
8345 #: build/C/man3/trunc.3:28
8346 msgid "trunc, truncf, truncl - round to integer, toward zero"
8350 #: build/C/man3/trunc.3:33
8352 msgid "B<double trunc(double >I<x>B<);>\n"
8356 #: build/C/man3/trunc.3:35
8358 msgid "B<float truncf(float >I<x>B<);>\n"
8362 #: build/C/man3/trunc.3:37
8364 msgid "B<long double truncl(long double >I<x>B<);>\n"
8368 #: build/C/man3/trunc.3:50
8369 msgid "B<trunc>(), B<truncf>(), B<truncl>():"
8373 #: build/C/man3/trunc.3:63
8375 "These functions round I<x> to the nearest integer not larger in absolute "
8380 #: build/C/man3/trunc.3:71
8381 msgid "If I<x> is integral, infinite, or NaN, I<x> itself is returned."
8385 #: build/C/man3/trunc.3:83
8386 msgid "The B<trunc>(), B<truncf>(), and B<truncl>() functions are thread-safe."
8390 #: build/C/man3/y0.3:36
8396 #: build/C/man3/y0.3:40
8398 "y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl - Bessel functions of the second "
8403 #: build/C/man3/y0.3:45
8405 msgid "B<double y0(double >I<x>B<);>\n"
8409 #: build/C/man3/y0.3:47
8411 msgid "B<double y1(double >I<x>B<);>\n"
8415 #: build/C/man3/y0.3:49
8417 msgid "B<double yn(int >I<n>B<, double >I<x>B<);>\n"
8421 #: build/C/man3/y0.3:51
8423 msgid "B<float y0f(float >I<x>B<);>\n"
8427 #: build/C/man3/y0.3:53
8429 msgid "B<float y1f(float >I<x>B<);>\n"
8433 #: build/C/man3/y0.3:55
8435 msgid "B<float ynf(int >I<n>B<, float >I<x>B<);>\n"
8439 #: build/C/man3/y0.3:57
8441 msgid "B<long double y0l(long double >I<x>B<);>\n"
8445 #: build/C/man3/y0.3:59
8447 msgid "B<long double y1l(long double >I<x>B<);>\n"
8451 #: build/C/man3/y0.3:61
8453 msgid "B<long double ynl(int >I<n>B<, long double >I<x>B<);>\n"
8457 #: build/C/man3/y0.3:74
8458 msgid "B<y0>(), B<y1>(), B<yn>():"
8462 #: build/C/man3/y0.3:84
8463 msgid "B<y0f>(), B<y0l>(), B<y1f>(), B<y1l>(), B<ynf>(), B<ynl>():"
8467 #: build/C/man3/y0.3:105
8469 "The B<y0>() and B<y1>() functions return Bessel functions of I<x> of the "
8470 "second kind of orders 0 and 1, respectively. The B<yn>() function returns "
8471 "the Bessel function of I<x> of the second kind of order I<n>."
8475 #: build/C/man3/y0.3:109
8476 msgid "The value of I<x> must be positive."
8480 #: build/C/man3/y0.3:126
8482 "The B<y0f>(), B<y1f>(), and B<ynf>() functions are versions that take and "
8483 "return I<float> values. The B<y0l>(), B<y1l>(), and B<ynl>() functions are "
8484 "versions that take and return I<long double> values."
8488 #: build/C/man3/y0.3:130
8490 "On success, these functions return the appropriate Bessel value of the "
8491 "second kind for I<x>."
8495 #: build/C/man3/y0.3:146
8497 "If I<x> is negative, a domain error occurs, and the functions return "
8498 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively. (POSIX.1-2001 "
8499 "also allows a NaN return for this case.)"
8503 #: build/C/man3/y0.3:157
8505 "If I<x> is 0.0, a pole error occurs, and the functions return -B<HUGE_VAL>, "
8506 "-B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
8510 #: build/C/man3/y0.3:161
8511 msgid "If the result underflows, a range error occurs, and the functions return 0.0"
8515 #: build/C/man3/y0.3:171
8517 "If the result overflows, a range error occurs, and the functions return "
8518 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively. (POSIX.1-2001 "
8519 "also allows a 0.0 return for this case.)"
8523 #: build/C/man3/y0.3:186
8525 msgid "Pole error: I<x> is 0.0"
8528 #. Before POSIX.1-2001 TC2, this was (inconsistently) specified
8529 #. as a range error.
8530 #. FIXME . y0(0.0) gives EDOM
8531 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
8533 #: build/C/man3/y0.3:201
8535 "I<errno> is set to B<ERANGE> (but see BUGS). No B<FE_DIVBYZERO> exception "
8536 "is returned by B<fetestexcept>(3) for this case."
8539 #. e.g., y0(1e33) on glibc 2.8/x86-32
8540 #. An underflow floating-point exception
8541 #. .RB ( FE_UNDERFLOW )
8543 #. FIXME . Is it intentional that these functions do not use FE_*?
8544 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6806
8546 #: build/C/man3/y0.3:217
8548 "I<errno> is set to B<ERANGE>. No B<FE_UNDERFLOW> exception is returned by "
8549 "B<fetestexcept>(3) for this case."
8552 #. e.g., yn(10, 1e-40) on glibc 2.8/x86-32
8556 #. FIXME . Is it intentional that errno is not set?
8557 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
8559 #: build/C/man3/y0.3:230
8561 "I<errno> is not set for this case. An overflow floating-point exception "
8562 "(B<FE_OVERFLOW>) is raised."
8566 #. Bug raised: http://sourceware.org/bugzilla/show_bug.cgi?id=6807
8568 #: build/C/man3/y0.3:246
8570 "On a pole error, these functions set I<errno> to B<EDOM>, instead of "
8571 "B<ERANGE> as POSIX.1-2004 requires."
8574 #. FIXME . Actually, 2.3.2 is the earliest test result I have; so yet
8575 #. to confirm if this error occurs only in 2.3.2.
8577 #: build/C/man3/y0.3:253
8579 "In glibc version 2.3.2 and earlier, these functions do not raise an invalid "
8580 "floating-point exception (B<FE_INVALID>) when a domain error occurs."
8584 #: build/C/man3/y0.3:255