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: 2013-09-28 04:06+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=CHARSET\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 plus 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:105 build/C/man3/atan.3:96 build/C/man3/atan2.3:166 build/C/man3/atanh.3:139 build/C/man3/cbrt.3:90 build/C/man3/ceil.3:89 build/C/man3/copysign.3:92 build/C/man3/cos.3:104 build/C/man3/cosh.3:119 build/C/man3/div.3:100 build/C/man3/erf.3:126 build/C/man3/erfc.3:122 build/C/man3/exp.3:128 build/C/man3/exp10.3:77 build/C/man3/exp2.3:91 build/C/man3/expm1.3:136 build/C/man3/fabs.3:93 build/C/man3/fdim.3:89 build/C/man3/fenv.3:265 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:125 build/C/man3/j0.3:150 build/C/man3/ldexp.3:137 build/C/man3/lgamma.3:156 build/C/man3/log.3:128 build/C/man3/log10.3:89 build/C/man3/log1p.3:142 build/C/man3/log2.3:91 build/C/man3/logb.3:143 build/C/man3/lrint.3:120 build/C/man3/lround.3:123 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:124 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:108 build/C/man3/sincos.3:75 build/C/man3/sinh.3:124 build/C/man3/sqrt.3:107 build/C/man3/tan.3:133 build/C/man3/tanh.3:100 build/C/man3/tgamma.3:162 build/C/man3/trunc.3:83 build/C/man3/y0.3:223
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:111 build/C/man3/atan.3:102 build/C/man3/atan2.3:172 build/C/man3/atanh.3:156 build/C/man3/cbrt.3:94 build/C/man3/ceil.3:120 build/C/man3/copysign.3:102 build/C/man3/cos.3:117 build/C/man3/cosh.3:130 build/C/man3/div.3:115 build/C/man3/erf.3:132 build/C/man3/erfc.3:135 build/C/man3/exp.3:134 build/C/man3/exp10.3:79 build/C/man3/exp2.3:97 build/C/man3/expm1.3:170 build/C/man3/fabs.3:99 build/C/man3/fdim.3:91 build/C/man3/fenv.3:323 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:132 build/C/man3/j0.3:165 build/C/man3/ldexp.3:143 build/C/man3/lgamma.3:175 build/C/man3/log.3:141 build/C/man3/log10.3:95 build/C/man3/log1p.3:145 build/C/man3/log2.3:97 build/C/man3/logb.3:145 build/C/man3/lrint.3:122 build/C/man3/lround.3:125 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:126 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:121 build/C/man3/sincos.3:77 build/C/man3/sinh.3:130 build/C/man3/sqrt.3:113 build/C/man3/tan.3:146 build/C/man3/tanh.3:106 build/C/man3/tgamma.3:188 build/C/man3/trunc.3:94 build/C/man3/y0.3:246
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:118 build/C/man3/atan.3:111 build/C/man3/atan2.3:180 build/C/man3/atanh.3:163 build/C/man3/cbrt.3:97 build/C/man3/ceil.3:127 build/C/man3/copysign.3:104 build/C/man3/cos.3:126 build/C/man3/cosh.3:137 build/C/man3/div.3:118 build/C/man3/erf.3:136 build/C/man3/erfc.3:139 build/C/man3/exp.3:140 build/C/man3/exp10.3:85 build/C/man3/exp2.3:103 build/C/man3/expm1.3:174 build/C/man3/fabs.3:106 build/C/man3/fdim.3:93 build/C/man3/fenv.3:325 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:135 build/C/man3/j0.3:167 build/C/man3/ldexp.3:147 build/C/man3/lgamma.3:177 build/C/man3/log.3:148 build/C/man3/log10.3:102 build/C/man3/log1p.3:149 build/C/man3/log2.3:103 build/C/man3/logb.3:148 build/C/man3/lrint.3:129 build/C/man3/lround.3:132 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:130 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:130 build/C/man3/sincos.3:81 build/C/man3/sinh.3:137 build/C/man3/sqrt.3:117 build/C/man3/tan.3:154 build/C/man3/tanh.3:113 build/C/man3/tgamma.3:191 build/C/man3/trunc.3:101 build/C/man3/y0.3:248
171 #: build/C/man3/INFINITY.3:111 build/C/man3/abs.3:148 build/C/man3/acos.3:134 build/C/man3/acosh.3:140 build/C/man3/asin.3:132 build/C/man3/asinh.3:125 build/C/man3/atan.3:118 build/C/man3/atan2.3:187 build/C/man3/atanh.3:170 build/C/man3/cbrt.3:104 build/C/man3/ceil.3:134 build/C/man3/copysign.3:111 build/C/man3/cos.3:133 build/C/man3/cosh.3:144 build/C/man3/div.3:125 build/C/man3/erf.3:143 build/C/man3/erfc.3:146 build/C/man3/exp.3:147 build/C/man3/exp10.3:92 build/C/man3/exp2.3:110 build/C/man3/expm1.3:181 build/C/man3/fabs.3:113 build/C/man3/fdim.3:100 build/C/man3/fenv.3:332 build/C/man3/finite.3:164 build/C/man3/floor.3:124 build/C/man3/fma.3:176 build/C/man3/fmax.3:77 build/C/man3/fmin.3:77 build/C/man3/fmod.3:169 build/C/man3/fpclassify.3:154 build/C/man3/frexp.3:165 build/C/man3/gamma.3:108 build/C/man3/hypot.3:174 build/C/man3/ilogb.3:167 build/C/man3/infnan.3:99 build/C/man3/isgreater.3:142 build/C/man3/j0.3:174 build/C/man3/ldexp.3:154 build/C/man3/lgamma.3:184 build/C/man3/log.3:155 build/C/man3/log10.3:109 build/C/man3/log1p.3:156 build/C/man3/log2.3:110 build/C/man3/logb.3:155 build/C/man3/lrint.3:136 build/C/man3/lround.3:139 build/C/man7/math_error.7:274 build/C/man3/matherr.3:436 build/C/man3/modf.3:119 build/C/man3/nan.3:90 build/C/man3/nextafter.3:208 build/C/man3/pow.3:376 build/C/man3/pow10.3:64 build/C/man3/remainder.3:226 build/C/man3/remquo.3:137 build/C/man3/rint.3:168 build/C/man3/round.3:133 build/C/man3/scalb.3:210 build/C/man3/scalbln.3:199 build/C/man3/signbit.3:79 build/C/man3/significand.3:67 build/C/man3/sin.3:137 build/C/man3/sincos.3:88 build/C/man3/sinh.3:144 build/C/man3/sqrt.3:124 build/C/man3/tan.3:161 build/C/man3/tanh.3:120 build/C/man3/tgamma.3:198 build/C/man3/trunc.3:108 build/C/man3/y0.3:255
173 "This page is part of release 3.54 of the Linux I<man-pages> project. A "
174 "description of the project, and information about reporting bugs, can be "
175 "found at \\%http://www.kernel.org/doc/man-pages/."
179 #: build/C/man3/abs.3:34
185 #: 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
191 #: 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
197 #: build/C/man3/abs.3:37
198 msgid "abs, labs, llabs, imaxabs - compute the absolute value of an integer"
202 #: build/C/man3/abs.3:40 build/C/man3/div.3:41
204 msgid "B<#include E<lt>stdlib.hE<gt>>\n"
208 #: build/C/man3/abs.3:42
210 msgid "B<int abs(int >I<j>B<);>\n"
214 #: build/C/man3/abs.3:44
216 msgid "B<long int labs(long int >I<j>B<);>\n"
220 #: build/C/man3/abs.3:46
222 msgid "B<long long int llabs(long long int >I<j>B<);>\n"
226 #: build/C/man3/abs.3:48 build/C/man3/div.3:49
228 msgid "B<#include E<lt>inttypes.hE<gt>>\n"
232 #: build/C/man3/abs.3:50
234 msgid "B<intmax_t imaxabs(intmax_t >I<j>B<);>\n"
238 #: 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
239 msgid "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
243 #: build/C/man3/abs.3:59
248 #: 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
250 "_XOPEN_SOURCE\\ E<gt>=\\ 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ "
255 #: 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
256 msgid "or I<cc\\ -std=c99>"
260 #: build/C/man3/abs.3:79
262 "The B<abs>() function computes the absolute value of the integer argument "
263 "I<j>. The B<labs>(), B<llabs>() and B<imaxabs>() functions compute the "
264 "absolute value of the argument I<j> of the appropriate integer type for the "
269 #: 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:78 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:114 build/C/man3/ldexp.3:73 build/C/man3/lgamma.3:94 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:73 build/C/man3/lround.3:76 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:119
275 #: build/C/man3/abs.3:82
277 "Returns the absolute value of the integer argument, of the appropriate "
278 "integer type for the function."
282 #: build/C/man3/abs.3:82 build/C/man3/ceil.3:81 build/C/man3/div.3:91 build/C/man3/fabs.3:85 build/C/man3/fdim.3:81 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/ldexp.3:129 build/C/man3/lrint.3:109 build/C/man3/lround.3:112 build/C/man3/modf.3:95 build/C/man3/nextafter.3:179 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/trunc.3:75
288 #: build/C/man3/abs.3:83 build/C/man3/ceil.3:82 build/C/man3/div.3:92 build/C/man3/fabs.3:86 build/C/man3/fdim.3:82 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/ldexp.3:130 build/C/man3/lrint.3:110 build/C/man3/lround.3:113 build/C/man3/modf.3:96 build/C/man3/nextafter.3:180 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/trunc.3:76
290 msgid "Multithreading (see pthreads(7))"
294 #: build/C/man3/abs.3:91
296 "The B<abs>(), B<labs>(), B<llabs>(), and B<imaxabs>() functions are "
300 #. POSIX.1 (1996 edition) requires only the
304 #: build/C/man3/abs.3:106
306 "SVr4, POSIX.1-2001, 4.3BSD, C99. C89 only includes the B<abs>() and "
307 "B<labs>() functions; the functions B<llabs>() and B<imaxabs>() were added "
312 #: build/C/man3/abs.3:106 build/C/man3/ceil.3:95 build/C/man3/copysign.3:97 build/C/man3/erfc.3:128 build/C/man3/fenv.3:267 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:127 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
318 #: build/C/man3/abs.3:109
320 "Trying to take the absolute value of the most negative integer is not "
325 #: build/C/man3/abs.3:118
327 "The B<llabs>() function is included in glibc since version 2.0, but is not "
328 "in libc5 or libc4. The B<imaxabs>() function is included in glibc since "
333 #: build/C/man3/abs.3:124
335 "For B<llabs>() to be declared, it may be necessary to define "
336 "B<_ISOC99_SOURCE> or B<_ISOC9X_SOURCE> (depending on the version of glibc) "
337 "before including any standard headers."
341 #: build/C/man3/abs.3:135
343 "GCC handles B<abs>() and B<labs>() as built-in functions. GCC 3.0 also "
344 "handles B<llabs>() and B<imaxabs>() as built-ins."
348 #: build/C/man3/abs.3:141
349 msgid "B<cabs>(3), B<ceil>(3), B<fabs>(3), B<floor>(3), B<rint>(3)"
353 #: build/C/man3/acos.3:35
359 #: 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/cbrt.3:30 build/C/man3/cosh.3:36 build/C/man3/erf.3:35 build/C/man3/erfc.3:26 build/C/man3/exp.3:36 build/C/man3/exp2.3:36 build/C/man3/hypot.3:33 build/C/man3/j0.3:36 build/C/man3/log.3:36 build/C/man3/log10.3:36 build/C/man3/log1p.3:29 build/C/man3/logb.3:29 build/C/man3/nan.3:11 build/C/man3/remainder.3:37 build/C/man3/remquo.3:12 build/C/man3/sinh.3:36 build/C/man3/sqrt.3:34 build/C/man3/tanh.3:35 build/C/man3/tgamma.3:13
365 #: build/C/man3/acos.3:38
366 msgid "acos, acosf, acosl - arc cosine function"
370 #: build/C/man3/acos.3:45
373 "B<double acos(double >I<x>B<);>\n"
374 "B<float acosf(float >I<x>B<);>\n"
375 "B<long double acosl(long double >I<x>B<);>\n"
379 #: 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
380 msgid "Link with I<-lm>."
384 #: build/C/man3/acos.3:57
385 msgid "B<acosf>(), B<acosl>():"
389 #: 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
391 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600 || "
392 "_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
396 #: build/C/man3/acos.3:73
398 "The B<acos>() function calculates the arc cosine of I<x>; that is the value "
399 "whose cosine is I<x>."
403 #: build/C/man3/acos.3:77
405 "On success, these functions return the arc cosine of I<x> in radians; the "
406 "return value is in the range [0,\\ pi]."
410 #: 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:122 build/C/man3/ldexp.3:87 build/C/man3/lgamma.3:100 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:127
411 msgid "If I<x> is a NaN, a NaN is returned."
415 #: build/C/man3/acos.3:86 build/C/man3/acosh.3:95
416 msgid "If I<x> is +1, +0 is returned."
420 #: build/C/man3/acos.3:92 build/C/man3/cos.3:88 build/C/man3/sin.3:92 build/C/man3/tan.3:89
422 "If I<x> is positive infinity or negative infinity, a domain error occurs, "
423 "and a NaN is returned."
427 #. POSIX.1-2001 documents an optional range error for subnormal x;
428 #. glibc 2.8 does not do this.
430 #: build/C/man3/acos.3:98 build/C/man3/asin.3:96
432 "If I<x> is outside the range [-1,\\ 1], a domain error occurs, and a NaN is "
437 #: 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:90 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:129 build/C/man3/ldexp.3:106 build/C/man3/lgamma.3:130 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:87 build/C/man3/lround.3:90 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:164
443 #: 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:134 build/C/man3/ldexp.3:111 build/C/man3/lgamma.3:135 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:92 build/C/man3/lround.3:95 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:169
445 "See B<math_error>(7) for information on how to determine whether an error "
446 "has occurred when calling these functions."
450 #: 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:136 build/C/man3/ldexp.3:113 build/C/man3/lgamma.3:137 build/C/man3/log.3:112 build/C/man3/log1p.3:120 build/C/man3/logb.3:123 build/C/man3/lrint.3:94 build/C/man3/lround.3:97 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:171
451 msgid "The following errors can occur:"
455 #: build/C/man3/acos.3:105 build/C/man3/asin.3:103
457 msgid "Domain error: I<x> is outside the range [-1,\\ 1]"
461 #: 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:179
463 "I<errno> is set to B<EDOM>. An invalid floating-point exception "
464 "(B<FE_INVALID>) is raised."
468 #: build/C/man3/acos.3:119 build/C/man3/acosh.3:126 build/C/man3/asin.3:117 build/C/man3/asinh.3:111 build/C/man3/atan.3:102 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:114 build/C/man3/sinh.3:130 build/C/man3/sqrt.3:113 build/C/man3/tan.3:139 build/C/man3/tanh.3:106
470 "C99, POSIX.1-2001. The variant returning I<double> also conforms to SVr4, "
475 #: build/C/man3/acos.3:127
477 "B<asin>(3), B<atan>(3), B<atan2>(3), B<cacos>(3), B<cos>(3), B<sin>(3), "
482 #: build/C/man3/acosh.3:35
488 #: build/C/man3/acosh.3:38
489 msgid "acosh, acoshf, acoshl - inverse hyperbolic cosine function"
493 #: build/C/man3/acosh.3:43
495 msgid "B<double acosh(double >I<x>B<);>\n"
499 #: build/C/man3/acosh.3:45
501 msgid "B<float acoshf(float >I<x>B<);>\n"
505 #: build/C/man3/acosh.3:47
507 msgid "B<long double acoshl(long double >I<x>B<);>\n"
511 #: build/C/man3/acosh.3:58
516 #: 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
518 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
519 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || "
520 "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
524 #: build/C/man3/acosh.3:69
525 msgid "B<acoshf>(), B<acoshl>():"
529 #: build/C/man3/acosh.3:84
531 "The B<acosh>() function calculates the inverse hyperbolic cosine of I<x>; "
532 "that is the value whose hyperbolic cosine is I<x>."
536 #: build/C/man3/acosh.3:87
537 msgid "On success, these functions return the inverse hyperbolic cosine of I<x>."
541 #: 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
542 msgid "If I<x> is positive infinity, positive infinity is returned."
546 #: build/C/man3/acosh.3:105
548 "If I<x> is less than 1, a domain error occurs, and the functions return a "
553 #: build/C/man3/acosh.3:112
555 msgid "Domain error: I<x> is less than 1"
559 #: build/C/man3/acosh.3:133
560 msgid "B<asinh>(3), B<atanh>(3), B<cacosh>(3), B<cosh>(3), B<sinh>(3), B<tanh>(3)"
564 #: build/C/man3/asin.3:35
570 #: build/C/man3/asin.3:38
571 msgid "asin, asinf, asinl - arc sine function"
575 #: build/C/man3/asin.3:43
577 msgid "B<double asin(double >I<x>B<);>\n"
581 #: build/C/man3/asin.3:45
583 msgid "B<float asinf(float >I<x>B<);>\n"
587 #: build/C/man3/asin.3:47
589 msgid "B<long double asinl(long double >I<x>B<);>\n"
593 #: build/C/man3/asin.3:59
594 msgid "B<asinf>(), B<asinl>():"
598 #: build/C/man3/asin.3:74
600 "The B<asin>() function calculates the principal value of the arc sine of "
601 "I<x>; that is the value whose sine is I<x>."
605 #: build/C/man3/asin.3:78
607 "On success, these functions return the principal value of the arc sine of "
608 "I<x> in radians; the return value is in the range [-pi/2,\\ pi/2]."
612 #: 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
613 msgid "If I<x> is +0 (-0), +0 (-0) is returned."
617 #: build/C/man3/asin.3:125
619 "B<acos>(3), B<atan>(3), B<atan2>(3), B<casin>(3), B<cos>(3), B<sin>(3), "
624 #: build/C/man3/asinh.3:35
630 #: build/C/man3/asinh.3:38
631 msgid "asinh, asinhf, asinhl - inverse hyperbolic sine function"
635 #: build/C/man3/asinh.3:43
637 msgid "B<double asinh(double >I<x>B<);>\n"
641 #: build/C/man3/asinh.3:45
643 msgid "B<float asinhf(float >I<x>B<);>\n"
647 #: build/C/man3/asinh.3:47
649 msgid "B<long double asinhl(long double >I<x>B<);>\n"
653 #: build/C/man3/asinh.3:58
658 #: build/C/man3/asinh.3:69
659 msgid "B<asinhf>(), B<asinhl>():"
663 #: build/C/man3/asinh.3:84
665 "The B<asinh>() function calculates the inverse hyperbolic sine of I<x>; "
666 "that is the value whose hyperbolic sine is I<x>."
670 #: build/C/man3/asinh.3:87
671 msgid "On success, these functions return the inverse hyperbolic sine of I<x>."
675 #: build/C/man3/asinh.3:103 build/C/man3/ldexp.3:92 build/C/man3/scalbln.3:111 build/C/man3/sinh.3:95
677 "If I<x> is positive infinity (negative infinity), positive infinity "
678 "(negative infinity) is returned."
682 #: 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:92 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
683 msgid "No errors occur."
687 #: build/C/man3/asinh.3:118
688 msgid "B<acosh>(3), B<atanh>(3), B<casinh>(3), B<cosh>(3), B<sinh>(3), B<tanh>(3)"
692 #: build/C/man3/atan.3:35
698 #: build/C/man3/atan.3:38
699 msgid "atan, atanf, atanl - arc tangent function"
703 #: build/C/man3/atan.3:43
705 msgid "B<double atan(double >I<x>B<);>\n"
709 #: build/C/man3/atan.3:45
711 msgid "B<float atanf(float >I<x>B<);>\n"
715 #: build/C/man3/atan.3:47
717 msgid "B<long double atanl( long double >I<x>B<);>\n"
721 #: build/C/man3/atan.3:59
722 msgid "B<atanf>(), B<atanl>():"
726 #: build/C/man3/atan.3:74
728 "The B<atan>() function calculates the principal value of the arc tangent of "
729 "I<x>; that is the value whose tangent is I<x>."
733 #: build/C/man3/atan.3:78
735 "On success, these functions return the principal value of the arc tangent of "
736 "I<x> in radians; the return value is in the range [-pi/2,\\ pi/2]."
740 #. POSIX.1-2001 documents an optional range error for subnormal x;
741 #. glibc 2.8 does not do this.
743 #: build/C/man3/atan.3:94
744 msgid "If I<x> is positive infinity (negative infinity), +pi/2 (-pi/2) is returned."
748 #: build/C/man3/atan.3:111
750 "B<acos>(3), B<asin>(3), B<atan2>(3), B<carg>(3), B<catan>(3), B<cos>(3), "
751 "B<sin>(3), B<tan>(3)"
755 #: build/C/man3/atan2.3:35
761 #: build/C/man3/atan2.3:38
762 msgid "atan2, atan2f, atan2l - arc tangent function of two variables"
766 #: build/C/man3/atan2.3:45
769 "B<double atan2(double >I<y>B<, double >I<x>B<);>\n"
770 "B<float atan2f(float >I<y>B<, float >I<x>B<);>\n"
771 "B<long double atan2l(long double >I<y>B<, long double >I<x>B<);>\n"
775 #: build/C/man3/atan2.3:57
776 msgid "B<atan2f>(), B<atan2l>():"
780 #: build/C/man3/atan2.3:72
782 "The B<atan2>() function calculates the principal value of the arc tangent "
783 "of I<y/x>, using the signs of the two arguments to determine the quadrant of "
788 #: build/C/man3/atan2.3:76
790 "On success, these functions return the principal value of the arc tangent of "
791 "I<y/x> in radians; the return value is in the range [-pi,\\ pi]."
795 #: build/C/man3/atan2.3:82
796 msgid "If I<y> is +0 (-0) and I<x> is less than 0, +pi (-pi) is returned."
800 #: build/C/man3/atan2.3:88
801 msgid "If I<y> is +0 (-0) and I<x> is greater than 0, +0 (-0) is returned."
805 #: build/C/man3/atan2.3:94
806 msgid "If I<y> is less than 0 and I<x> is +0 or -0, -pi/2 is returned."
810 #: build/C/man3/atan2.3:100
811 msgid "If I<y> is greater than 0 and I<x> is +0 or -0, pi/2 is returned."
817 #. is 0, a pole error shall not occur.
819 #: build/C/man3/atan2.3:111
820 msgid "If either I<x> or I<y> is NaN, a NaN is returned."
824 #. If the result underflows, a range error may occur and
826 #. should be returned.
828 #: build/C/man3/atan2.3:122
829 msgid "If I<y> is +0 (-0) and I<x> is -0, +pi (-pi) is returned."
833 #: build/C/man3/atan2.3:128
834 msgid "If I<y> is +0 (-0) and I<x> is +0, +0 (-0) is returned."
838 #: build/C/man3/atan2.3:134
840 "If I<y> is a finite value greater (less) than 0, and I<x> is negative "
841 "infinity, +pi (-pi) is returned."
845 #: build/C/man3/atan2.3:140
847 "If I<y> is a finite value greater (less) than 0, and I<x> is positive "
848 "infinity, +0 (-0) is returned."
852 #: build/C/man3/atan2.3:147
854 "If I<y> is positive infinity (negative infinity), and I<x> is finite, pi/2 "
855 "(-pi/2) is returned."
859 #: build/C/man3/atan2.3:153
861 "If I<y> is positive infinity (negative infinity) and I<x> is negative "
862 "infinity, +3*pi/4 (-3*pi/4) is returned."
867 #. If both arguments are 0, a domain error shall not occur.
869 #: build/C/man3/atan2.3:162
871 "If I<y> is positive infinity (negative infinity) and I<x> is positive "
872 "infinity, +pi/4 (-pi/4) is returned."
876 #: build/C/man3/atan2.3:180
878 "B<acos>(3), B<asin>(3), B<atan>(3), B<carg>(3), B<cos>(3), B<sin>(3), "
883 #: build/C/man3/atanh.3:35
889 #: build/C/man3/atanh.3:35 build/C/man3/cos.3:34 build/C/man3/lgamma.3:11 build/C/man3/sin.3:35 build/C/man3/tan.3:35
895 #: build/C/man3/atanh.3:38
896 msgid "atanh, atanhf, atanhl - inverse hyperbolic tangent function"
900 #: build/C/man3/atanh.3:43
902 msgid "B<double atanh(double >I<x>B<);>\n"
906 #: build/C/man3/atanh.3:45
908 msgid "B<float atanhf(float >I<x>B<);>\n"
912 #: build/C/man3/atanh.3:47
914 msgid "B<long double atanhl(long double >I<x>B<);>\n"
918 #: build/C/man3/atanh.3:58
923 #: build/C/man3/atanh.3:69
924 msgid "B<atanhf>(), B<atanhl>():"
928 #: build/C/man3/atanh.3:84
930 "The B<atanh>() function calculates the inverse hyperbolic tangent of I<x>; "
931 "that is the value whose hyperbolic tangent is I<x>."
935 #: build/C/man3/atanh.3:87
936 msgid "On success, these functions return the inverse hyperbolic tangent of I<x>."
940 #: build/C/man3/atanh.3:106
942 "If I<x> is +1 or -1, a pole error occurs, and the functions return "
943 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the "
944 "mathematically correct sign."
948 #. POSIX.1-2001 documents an optional range error for subnormal x;
949 #. glibc 2.8 does not do this.
951 #: build/C/man3/atanh.3:115
953 "If the absolute value of I<x> is greater than 1, a domain error occurs, and "
958 #: build/C/man3/atanh.3:122
960 msgid "Domain error: I<x> less than -1 or greater than +1"
964 #: build/C/man3/atanh.3:130
966 msgid "Pole error: I<x> is +1 or -1"
970 #: build/C/man3/atanh.3:139 build/C/man3/lgamma.3:146 build/C/man3/pow.3:300
972 "I<errno> is set to B<ERANGE> (but see BUGS). A divide-by-zero "
973 "floating-point exception (B<FE_DIVBYZERO>) is raised."
977 #: build/C/man3/atanh.3:145 build/C/man3/cos.3:110 build/C/man3/cosh.3:125 build/C/man3/expm1.3:139 build/C/man3/fenv.3:312 build/C/man3/fmod.3:152 build/C/man3/j0.3:156 build/C/man3/lgamma.3:165 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:114 build/C/man3/tan.3:139 build/C/man3/tgamma.3:171 build/C/man3/y0.3:229
982 #. Bug: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6759
983 #. This can be seen in sysdeps/ieee754/k_standard.c
985 #: build/C/man3/atanh.3:156
987 "In glibc 2.9 and earlier, when a pole error occurs, I<errno> as set to "
988 "B<EDOM> instead of the POSIX-mandated B<ERANGE>. Since version 2.10, glibc "
989 "does the right thing."
993 #: build/C/man3/atanh.3:163
994 msgid "B<acosh>(3), B<asinh>(3), B<catanh>(3), B<cosh>(3), B<sinh>(3), B<tanh>(3)"
998 #: build/C/man3/cbrt.3:30
1004 #: build/C/man3/cbrt.3:33
1005 msgid "cbrt, cbrtf, cbrtl - cube root function"
1009 #: build/C/man3/cbrt.3:38
1011 msgid "B<double cbrt(double >I<x>B<);>\n"
1015 #: build/C/man3/cbrt.3:40
1017 msgid "B<float cbrtf(float >I<x>B<);>\n"
1021 #: build/C/man3/cbrt.3:42
1023 msgid "B<long double cbrtl(long double >I<x>B<);>\n"
1027 #: build/C/man3/cbrt.3:53
1032 #: build/C/man3/cbrt.3:64
1033 msgid "B<cbrtf>(), B<cbrtl>():"
1037 #: build/C/man3/cbrt.3:67
1039 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600 || "
1040 "_ISOC99_SOURCE || _POSIX_C_SOUCE\\ E<gt>=\\ 200112L;"
1044 #: build/C/man3/cbrt.3:79
1046 "The B<cbrt>() function returns the (real) cube root of I<x>. This function "
1047 "cannot fail; every representable real value has a representable real cube "
1052 #: build/C/man3/cbrt.3:82
1053 msgid "These functions return the cube root of I<x>."
1057 #: build/C/man3/cbrt.3:88
1059 "If I<x> is +0, -0, positive infinity, negative infinity, or NaN, I<x> is "
1064 #: build/C/man3/cbrt.3:94 build/C/man3/expm1.3:139 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:127 build/C/man3/log1p.3:145 build/C/man3/logb.3:145 build/C/man3/lrint.3:122 build/C/man3/lround.3:125 build/C/man3/remquo.3:126 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
1065 msgid "C99, POSIX.1-2001."
1069 #: build/C/man3/cbrt.3:97
1070 msgid "B<pow>(3), B<sqrt>(3)"
1074 #: build/C/man3/ceil.3:27
1080 #: build/C/man3/ceil.3:31
1082 "ceil, ceilf, ceill - ceiling function: smallest integral value not less than "
1087 #: build/C/man3/ceil.3:36
1089 msgid "B<double ceil(double >I<x>B<);>\n"
1093 #: build/C/man3/ceil.3:38
1095 msgid "B<float ceilf(float >I<x>B<);>\n"
1099 #: build/C/man3/ceil.3:40
1101 msgid "B<long double ceill(long double >I<x>B<);>\n"
1105 #: build/C/man3/ceil.3:52
1106 msgid "B<ceilf>(), B<ceill>():"
1110 #: build/C/man3/ceil.3:63
1112 "These functions return the smallest integral value that is not less than "
1117 #: build/C/man3/ceil.3:69
1118 msgid "For example, I<ceil(0.5)> is 1.0, and I<ceil(-0.5)> is 0.0."
1122 #: build/C/man3/ceil.3:72
1123 msgid "These functions return the ceiling of I<x>."
1127 #: build/C/man3/ceil.3:78 build/C/man3/rint.3:119 build/C/man3/round.3:83
1128 msgid "If I<x> is integral, +0, -0, NaN, or infinite, I<x> itself is returned."
1132 #: build/C/man3/ceil.3:81 build/C/man3/floor.3:80 build/C/man3/rint.3:122 build/C/man3/round.3:86
1134 "No errors occur. POSIX.1-2001 documents a range error for overflows, but "
1139 #: build/C/man3/ceil.3:89
1140 msgid "The B<ceil>(), B<ceilf>(), and B<ceill>() functions are thread-safe."
1144 #: build/C/man3/ceil.3:111 build/C/man3/floor.3:110 build/C/man3/rint.3:150
1146 "SUSv2 and POSIX.1-2001 contain text about overflow (which might set I<errno> "
1147 "to B<ERANGE>, or raise an B<FE_OVERFLOW> exception). In practice, the "
1148 "result cannot overflow on any current machine, so this error-handling stuff "
1149 "is just nonsense. (More precisely, overflow can happen only when the "
1150 "maximum value of the exponent is smaller than the number of mantissa bits. "
1151 "For the IEEE-754 standard 32-bit and 64-bit floating-point numbers the "
1152 "maximum value of the exponent is 128 (respectively, 1024), and the number of "
1153 "mantissa bits is 24 (respectively, 53).)"
1157 #: build/C/man3/ceil.3:120 build/C/man3/trunc.3:94
1159 "The integral value returned by these functions may be too large to store in "
1160 "an integer type (I<int>, I<long>, etc.). To avoid an overflow, which will "
1161 "produce undefined results, an application should perform a range check on "
1162 "the returned value before assigning it to an integer type."
1166 #: build/C/man3/ceil.3:127
1168 "B<floor>(3), B<lrint>(3), B<nearbyint>(3), B<rint>(3), B<round>(3), "
1173 #: build/C/man3/copysign.3:31
1179 #: build/C/man3/copysign.3:31
1185 #: build/C/man3/copysign.3:34
1186 msgid "copysign, copysignf, copysignl - copy sign of a number"
1190 #: build/C/man3/copysign.3:39
1192 msgid "B<double copysign(double >I<x>B<, double >I<y>B<);>\n"
1196 #: build/C/man3/copysign.3:41
1198 msgid "B<float copysignf(float >I<x>B<, float >I<y>B<);>\n"
1202 #: build/C/man3/copysign.3:43
1204 msgid "B<long double copysignl(long double >I<x>B<, long double >I<y>B<);>\n"
1208 #: build/C/man3/copysign.3:56
1209 msgid "B<copysign>(), B<copysignf>(), B<copysignl>():"
1213 #: build/C/man3/copysign.3:59
1215 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600 || "
1216 "_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
1220 #: build/C/man3/copysign.3:72
1222 "The B<copysign>() functions return a value whose absolute value matches "
1223 "that of I<x>, but whose sign bit matches that of I<y>."
1227 #: build/C/man3/copysign.3:78
1229 "For example, I<copysign(42.0,\\ -1.0)> and I<copysign(-42.0, -1.0)> both "
1234 #: build/C/man3/copysign.3:83
1236 "On success, these functions return a value whose magnitude is taken from "
1237 "I<x> and whose sign is taken from I<y>."
1241 #: build/C/man3/copysign.3:90
1242 msgid "If I<x> is a NaN, a NaN with the sign bit of I<y> is returned."
1246 #: build/C/man3/copysign.3:97 build/C/man3/nextafter.3:194 build/C/man3/signbit.3:70
1248 "C99, POSIX.1-2001. This function is defined in IEC 559 (and the appendix "
1249 "with recommended functions in IEEE 754/IEEE 854)."
1253 #: build/C/man3/copysign.3:102
1255 "On architectures where the floating-point formats are not IEEE 754 "
1256 "compliant, the B<copysign>() functions may treat a negative zero as "
1261 #: build/C/man3/copysign.3:104
1262 msgid "B<signbit>(3)"
1266 #: build/C/man3/cos.3:34
1272 #: build/C/man3/cos.3:37
1273 msgid "cos, cosf, cosl - cosine function"
1277 #: build/C/man3/cos.3:42
1279 msgid "B<double cos(double >I<x>B<);>\n"
1283 #: build/C/man3/cos.3:44
1285 msgid "B<float cosf(float >I<x>B<);>\n"
1289 #: build/C/man3/cos.3:46
1291 msgid "B<long double cosl(long double >I<x>B<);>\n"
1295 #: build/C/man3/cos.3:58
1296 msgid "B<cosf>(), B<cosl>():"
1300 #: build/C/man3/cos.3:75
1302 "The B<cos>() function returns the cosine of I<x>, where I<x> is given in "
1307 #: build/C/man3/cos.3:78
1308 msgid "On success, these functions return the cosine of I<x>."
1312 #: 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
1314 msgid "Domain error: I<x> is an infinity"
1318 #: build/C/man3/cos.3:104 build/C/man3/fmod.3:136 build/C/man3/sin.3:108 build/C/man3/tan.3:123
1320 "I<errno> is set to B<EDOM> (but see BUGS). An invalid floating-point "
1321 "exception (B<FE_INVALID>) is raised."
1325 #: build/C/man3/cos.3:110 build/C/man3/cosh.3:125 build/C/man3/erf.3:132 build/C/man3/erfc.3:128 build/C/man3/hypot.3:164 build/C/man3/log2.3:97
1327 "C99, POSIX.1-2001. The variant returning I<double> also conforms to SVr4, "
1331 #. http://sourceware.org/bugzilla/show_bug.cgi?id=6782
1333 #: build/C/man3/cos.3:117 build/C/man3/sin.3:121 build/C/man3/tan.3:146
1335 "Before version 2.10, the glibc implementation did not set I<errno> to "
1336 "B<EDOM> when a domain error occurred."
1340 #: build/C/man3/cos.3:126
1342 "B<acos>(3), B<asin>(3), B<atan>(3), B<atan2>(3), B<ccos>(3), B<sin>(3), "
1343 "B<sincos>(3), B<tan>(3)"
1347 #: build/C/man3/cosh.3:36
1353 #: build/C/man3/cosh.3:39
1354 msgid "cosh, coshf, coshl - hyperbolic cosine function"
1358 #: build/C/man3/cosh.3:44
1360 msgid "B<double cosh(double >I<x>B<);>\n"
1364 #: build/C/man3/cosh.3:46
1366 msgid "B<float coshf(float >I<x>B<);>\n"
1370 #: build/C/man3/cosh.3:48
1372 msgid "B<long double coshl(long double >I<x>B<);>\n"
1376 #: build/C/man3/cosh.3:60
1377 msgid "B<coshf>(), B<coshl>():"
1381 #: build/C/man3/cosh.3:75
1383 "The B<cosh>() function returns the hyperbolic cosine of I<x>, which is "
1384 "defined mathematically as:"
1388 #: build/C/man3/cosh.3:78
1390 msgid " cosh(x) = (exp(x) + exp(-x)) / 2\n"
1394 #: build/C/man3/cosh.3:82
1395 msgid "On success, these functions return the hyperbolic cosine of I<x>."
1399 #: build/C/man3/cosh.3:90 build/C/man3/erfc.3:83
1400 msgid "If I<x> is +0 or -0, 1 is returned."
1404 #: build/C/man3/cosh.3:95 build/C/man3/lgamma.3:109
1406 "If I<x> is positive infinity or negative infinity, positive infinity is "
1411 #: build/C/man3/cosh.3:104 build/C/man3/exp.3:105
1413 "If the result overflows, a range error occurs, and the functions return "
1414 "+B<HUGE_VAL>, +B<HUGE_VALF>, or +B<HUGE_VALL>, respectively."
1418 #: 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:146 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:210
1420 msgid "Range error: result overflow"
1424 #: 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:156 build/C/man3/pow.3:308 build/C/man3/sinh.3:124 build/C/man3/tgamma.3:140
1426 "I<errno> is set to B<ERANGE>. An overflow floating-point exception "
1427 "(B<FE_OVERFLOW>) is raised."
1431 #: build/C/man3/cosh.3:130
1433 "In glibc version 2.3.4 and earlier, an overflow floating-point "
1434 "(B<FE_OVERFLOW>) exception is not raised when an overflow occurs."
1438 #: build/C/man3/cosh.3:137
1439 msgid "B<acosh>(3), B<asinh>(3), B<atanh>(3), B<ccos>(3), B<sinh>(3), B<tanh>(3)"
1443 #: build/C/man3/div.3:34
1449 #: build/C/man3/div.3:34
1455 #: build/C/man3/div.3:38
1457 "div, ldiv, lldiv, imaxdiv - compute quotient and remainder of an integer "
1462 #: build/C/man3/div.3:43
1464 msgid "B<div_t div(int >I<numerator>B<, int >I<denominator>B<);>\n"
1468 #: build/C/man3/div.3:45
1470 msgid "B<ldiv_t ldiv(long >I<numerator>B<, long >I<denominator>B<);>\n"
1474 #: build/C/man3/div.3:47
1476 msgid "B<lldiv_t lldiv(long long >I<numerator>B<, long long >I<denominator>B<);>\n"
1480 #: build/C/man3/div.3:51
1483 "B<imaxdiv_t imaxdiv(intmax_t >I<numerator>B<, intmax_t "
1484 ">I<denominator>B<);>\n"
1488 #: build/C/man3/div.3:60
1493 #: build/C/man3/div.3:78
1495 "The B<div>() function computes the value I<numerator>/I<denominator> and "
1496 "returns the quotient and remainder in a structure named I<div_t> that "
1497 "contains two integer members (in unspecified order) named I<quot> and "
1498 "I<rem>. The quotient is rounded toward zero. The result satisfies "
1499 "I<quot>*I<denominator>+I<rem> = I<numerator>."
1503 #: build/C/man3/div.3:89
1505 "The B<ldiv>(), B<lldiv>(), and B<imaxdiv>() functions do the same, dividing "
1506 "numbers of the indicated type and returning the result in a structure of the "
1507 "indicated name, in all cases with fields I<quot> and I<rem> of the same type "
1508 "as the function arguments."
1512 #: build/C/man3/div.3:91
1513 msgid "The I<div_t> (etc.) structure."
1517 #: build/C/man3/div.3:100
1519 "The B<div>(), B<ldiv>(), B<lldiv>(), and B<imaxdiv>() functions are "
1524 #: build/C/man3/div.3:107
1526 "SVr4, 4.3BSD, C89. C99. The functions B<lldiv>() and B<imaxdiv>() were "
1531 #: build/C/man3/div.3:107 build/C/man3/frexp.3:122 build/C/man3/matherr.3:275 build/C/man3/remainder.3:213
1537 #: build/C/man3/div.3:109
1542 #: build/C/man3/div.3:112
1544 msgid " div_t q = div(-5, 3);\n"
1548 #: build/C/man3/div.3:115
1549 msgid "the values I<q.quot> and I<q.rem> are -1 and -2, respectively."
1553 #: build/C/man3/div.3:118
1554 msgid "B<abs>(3), B<remainder>(3)"
1558 #: build/C/man3/erf.3:35
1564 #: build/C/man3/erf.3:38
1565 msgid "erf, erff, erfl, - error function"
1569 #: build/C/man3/erf.3:45
1572 "B<double erf(double >I<x>B<);>\n"
1573 "B<float erff(float >I<x>B<);>\n"
1574 "B<long double erfl(long double >I<x>B<);>\n"
1578 #: build/C/man3/erf.3:56
1583 #: 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
1585 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE || "
1586 "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
1590 #: build/C/man3/erf.3:66
1591 msgid "B<erff>(), B<erfl>():"
1595 #: build/C/man3/erf.3:81
1596 msgid "The B<erf>() function returns the error function of I<x>, defined as"
1600 #: build/C/man3/erf.3:81
1602 msgid " erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(-t*t) dt"
1606 #: build/C/man3/erf.3:87
1608 "On success, these functions return the error function of I<x>, a value in "
1609 "the range [-1,\\ 1]."
1613 #. POSIX.1-2001 documents an optional range error (underflow)
1615 #. glibc 2.8 does not do this.
1617 #: build/C/man3/erf.3:100 build/C/man3/tanh.3:98
1618 msgid "If I<x> is positive infinity (negative infinity), +1 (-1) is returned."
1622 #: build/C/man3/erf.3:106
1624 "If I<x> is subnormal, a range error occurs, and the return value is "
1629 #: build/C/man3/erf.3:113
1631 msgid "Range error: result underflow (I<x> is subnormal)"
1634 #. e.g., tgamma(-172.5) on glibc 2.8/x86-32
1639 #: 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
1640 msgid "An underflow floating-point exception (B<FE_UNDERFLOW>) is raised."
1643 #. FIXME . Is it intentional that these functions do not set errno?
1644 #. sin() and cos() also don't set errno; bugs have been raised for
1647 #: 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:107 build/C/man3/lround.3:110 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:73
1648 msgid "These functions do not set I<errno>."
1652 #: build/C/man3/erf.3:136
1653 msgid "B<cerf>(3), B<erfc>(3), B<exp>(3)"
1657 #: build/C/man3/erfc.3:26
1663 #: build/C/man3/erfc.3:29
1664 msgid "erfc, erfcf, erfcl - complementary error function"
1668 #: build/C/man3/erfc.3:36
1671 "B<double erfc(double >I<x>B<);>\n"
1672 "B<float erfcf(float >I<x>B<);>\n"
1673 "B<long double erfcl(long double >I<x>B<);>\n"
1677 #: build/C/man3/erfc.3:47
1682 #: build/C/man3/erfc.3:57
1683 msgid "B<erfcf>(), B<erfcl>():"
1687 #: build/C/man3/erfc.3:60
1689 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600|| _ISOC99_SOURCE "
1690 "|| _POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
1694 #: build/C/man3/erfc.3:71
1696 "The B<erfc>() function returns the complementary error function of I<x>, "
1697 "that is, 1.0 - erf(x)."
1701 #: build/C/man3/erfc.3:75
1703 "On success, these functions return the complementary error function of I<x>, "
1704 "a value in the range [0,2]."
1708 #: build/C/man3/erfc.3:88
1709 msgid "If I<x> is positive infinity, +0 is returned."
1713 #: build/C/man3/erfc.3:93
1714 msgid "If I<x> is negative infinity, +2 is returned."
1718 #: build/C/man3/erfc.3:96
1720 "If the function result underflows and produces an unrepresentable value, the "
1721 "return value is 0.0."
1724 #. e.g., erfc(27) on x86-32
1726 #: build/C/man3/erfc.3:102
1728 "If the function result underflows but produces a representable (i.e., "
1729 "subnormal) value, that value is returned, and a range error occurs."
1733 #: build/C/man3/erfc.3:109
1735 msgid "Range error: result underflow (result is subnormal)"
1739 #: build/C/man3/erfc.3:135
1741 "The B<erfc>() functions are provided to avoid the loss accuracy that would "
1742 "occur for the calculation 1-erf(x) for large values of I<x> (for which the "
1743 "value of erf(x) approaches 1)."
1747 #: build/C/man3/erfc.3:139
1748 msgid "B<cerf>(3), B<erf>(3), B<exp>(3)"
1752 #: build/C/man3/exp.3:36
1758 #: build/C/man3/exp.3:39
1759 msgid "exp, expf, expl - base-e exponential function"
1763 #: build/C/man3/exp.3:44
1765 msgid "B<double exp(double >I<x>B<);>\n"
1769 #: build/C/man3/exp.3:46
1771 msgid "B<float expf(float >I<x>B<);>\n"
1775 #: build/C/man3/exp.3:48
1777 msgid "B<long double expl(long double >I<x>B<);>\n"
1781 #: build/C/man3/exp.3:60
1782 msgid "B<expf>(), B<expl>():"
1786 #: build/C/man3/exp.3:74
1788 "The B<exp>() function returns the value of e (the base of natural "
1789 "logarithms) raised to the power of I<x>."
1793 #: build/C/man3/exp.3:77
1794 msgid "On success, these functions return the exponential value of I<x>."
1798 #: build/C/man3/exp.3:92
1799 msgid "If I<x> is negative infinity, +0 is returned."
1803 #: build/C/man3/exp.3:96 build/C/man3/ldexp.3:96
1804 msgid "If the result underflows, a range error occurs, and zero is returned."
1808 #: 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
1810 msgid "Range error, overflow"
1814 #: build/C/man3/exp.3:120 build/C/man3/ldexp.3:121 build/C/man3/scalb.3:163 build/C/man3/scalbln.3:145
1816 msgid "Range error, underflow"
1820 #: build/C/man3/exp.3:128 build/C/man3/ldexp.3:129 build/C/man3/pow.3:316
1822 "I<errno> is set to B<ERANGE>. An underflow floating-point exception "
1823 "(B<FE_UNDERFLOW>) is raised."
1827 #: build/C/man3/exp.3:140
1828 msgid "B<cbrt>(3), B<cexp>(3), B<exp10>(3), B<exp2>(3), B<sqrt>(3)"
1832 #: build/C/man3/exp10.3:35
1838 #: build/C/man3/exp10.3:35 build/C/man7/math_error.7:26 build/C/man3/pow10.3:25 build/C/man3/sincos.3:9
1844 #: build/C/man3/exp10.3:38
1845 msgid "exp10, exp10f, exp10l - base-10 exponential function"
1849 #: build/C/man3/exp10.3:41 build/C/man3/fenv.3:290
1851 msgid "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1855 #: build/C/man3/exp10.3:45
1857 msgid "B<double exp10(double >I<x>B<);>\n"
1861 #: build/C/man3/exp10.3:47
1863 msgid "B<float exp10f(float >I<x>B<);>\n"
1867 #: build/C/man3/exp10.3:49
1869 msgid "B<long double exp10l(long double >I<x>B<);>\n"
1873 #: build/C/man3/exp10.3:58
1875 "The B<exp10>() function returns the value of 10 raised to the power of "
1880 #: build/C/man3/exp10.3:61
1881 msgid "On success, these functions return the base-10 exponential value of I<x>."
1885 #: build/C/man3/exp10.3:65 build/C/man3/exp2.3:81
1887 "For various special cases, including the handling of infinity and NaN, as "
1888 "well as overflows and underflows, see B<exp>(3)."
1892 #: build/C/man3/exp10.3:75 build/C/man3/exp2.3:89
1894 "For a discussion of the errors that can occur for these functions, see "
1899 #: 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:107 build/C/man3/lround.3:110 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:73 build/C/man3/tgamma.3:160 build/C/man3/trunc.3:73
1905 #: 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:109 build/C/man3/lround.3:112 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:75 build/C/man3/tgamma.3:162 build/C/man3/trunc.3:75
1906 msgid "These functions first appeared in glibc in version 2.1."
1910 #: build/C/man3/exp10.3:79
1911 msgid "These functions are GNU extensions."
1915 #: build/C/man3/exp10.3:85
1916 msgid "B<cbrt>(3), B<exp>(3), B<exp2>(3), B<log10>(3), B<sqrt>(3)"
1920 #: build/C/man3/exp2.3:36
1926 #: build/C/man3/exp2.3:39
1927 msgid "exp2, exp2f, exp2l - base-2 exponential function"
1931 #: build/C/man3/exp2.3:44
1933 msgid "B<double exp2(double >I<x>B<);>\n"
1937 #: build/C/man3/exp2.3:46
1939 msgid "B<float exp2f(float >I<x>B<);>\n"
1943 #: build/C/man3/exp2.3:48
1945 msgid "B<long double exp2l(long double >I<x>B<);>\n"
1949 #: build/C/man3/exp2.3:61
1950 msgid "B<exp2>(), B<exp2f>(), B<exp2l>():"
1954 #: build/C/man3/exp2.3:74
1955 msgid "The B<exp2>() function returns the value of 2 raised to the power of I<x>."
1959 #: build/C/man3/exp2.3:77
1960 msgid "On success, these functions return the base-2 exponential value of I<x>."
1964 #: build/C/man3/exp2.3:103
1965 msgid "B<cbrt>(3), B<cexp2>(3), B<exp>(3), B<exp10>(3), B<sqrt>(3)"
1969 #: build/C/man3/expm1.3:30
1975 #: build/C/man3/expm1.3:30 build/C/man3/log2.3:36 build/C/man3/pow.3:35
1981 #: build/C/man3/expm1.3:33
1982 msgid "expm1, expm1f, expm1l - exponential minus 1"
1986 #: build/C/man3/expm1.3:38
1988 msgid "B<double expm1(double >I<x>B<);>\n"
1992 #: build/C/man3/expm1.3:40
1994 msgid "B<float expm1f(float >I<x>B<);>\n"
1998 #: build/C/man3/expm1.3:42
2000 msgid "B<long double expm1l(long double >I<x>B<);>\n"
2004 #: build/C/man3/expm1.3:53
2009 #: build/C/man3/expm1.3:64
2010 msgid "B<expm1f>(), B<expm1l>():"
2014 #: build/C/man3/expm1.3:75
2015 msgid "I<expm1(x)> returns a value equivalent to"
2019 #: build/C/man3/expm1.3:78
2021 msgid " exp(x) - 1\n"
2025 #: build/C/man3/expm1.3:88
2027 "It is computed in a way that is accurate even if the value of I<x> is near "
2028 "zero\\(ema case where I<exp(x) - 1> would be inaccurate due to subtraction "
2029 "of two numbers that are nearly equal."
2033 #: build/C/man3/expm1.3:91
2034 msgid "On success, these functions return I<exp(x)\\ -\\ 1>."
2038 #: build/C/man3/expm1.3:109
2039 msgid "If I<x> is negative infinity, -1 is returned."
2043 #: build/C/man3/expm1.3:117
2045 "If the result overflows, a range error occurs, and the functions return "
2046 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
2050 #. POSIX.1 specifies an optional range error (underflow) if
2051 #. x is subnormal. Glibc does not implement this.
2053 #: build/C/man3/expm1.3:136
2055 "I<errno> is set to B<ERANGE> (but see BUGS). An overflow floating-point "
2056 "exception (B<FE_OVERFLOW>) is raised."
2060 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6778
2062 #: build/C/man3/expm1.3:147
2064 "For some large negative I<x> values (where the function result approaches "
2065 "-1), B<expm1>() raises a bogus underflow floating-point exception."
2069 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6814
2070 #. e.g., expm1(1e5) through expm1(1.00199970127e5),
2071 #. but not expm1(1.00199970128e5) and beyond.
2073 #: build/C/man3/expm1.3:158
2075 "For some large positive I<x> values, B<expm1>() raises a bogus invalid "
2076 "floating-point exception in addition to the expected overflow exception, and "
2077 "returns a NaN instead of positive infinity."
2080 #. It looks like the fix was in 2.11, or possibly 2.12.
2081 #. I have no test system for 2.11, but 2.12 passes.
2082 #. From the source (sysdeps/i386/fpu/s_expm1.S) it looks
2083 #. like the changes were in 2.11.
2084 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6788
2086 #: build/C/man3/expm1.3:170
2088 "Before version 2.11, the glibc implementation did not set I<errno> to "
2089 "B<ERANGE> when a range error occurred."
2093 #: build/C/man3/expm1.3:174
2094 msgid "B<exp>(3), B<log>(3), B<log1p>(3)"
2098 #: build/C/man3/fabs.3:32
2104 #: build/C/man3/fabs.3:32
2110 #: build/C/man3/fabs.3:35
2111 msgid "fabs, fabsf, fabsl - absolute value of floating-point number"
2115 #: build/C/man3/fabs.3:40
2117 msgid "B<double fabs(double >I<x>B<);>\n"
2121 #: build/C/man3/fabs.3:42
2123 msgid "B<float fabsf(float >I<x>B<);>\n"
2127 #: build/C/man3/fabs.3:44
2129 msgid "B<long double fabsl(long double >I<x>B<);>\n"
2133 #: build/C/man3/fabs.3:56
2134 msgid "B<fabsf>(), B<fabsl>():"
2138 #: build/C/man3/fabs.3:68
2139 msgid "These functions return the absolute value of the floating-point number I<x>."
2143 #: build/C/man3/fabs.3:71
2144 msgid "These functions return the absolute value of I<x>."
2148 #: build/C/man3/fabs.3:79
2149 msgid "If I<x> is -0, +0 is returned."
2153 #: build/C/man3/fabs.3:83
2155 "If I<x> is negative infinity or positive infinity, positive infinity is "
2160 #: build/C/man3/fabs.3:93
2161 msgid "The B<fabs>(), B<fabsf>(), and B<fabsl>() functions are thread-safe."
2165 #: build/C/man3/fabs.3:106
2166 msgid "B<abs>(3), B<cabs>(3), B<ceil>(3), B<floor>(3), B<labs>(3), B<rint>(3)"
2170 #: build/C/man3/fdim.3:9
2176 #: build/C/man3/fdim.3:9
2182 #: build/C/man3/fdim.3:12
2183 msgid "fdim, fdimf, fdiml - positive difference"
2187 #: 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
2188 msgid "B<#include E<lt>math.hE<gt>>"
2192 #: build/C/man3/fdim.3:16
2193 msgid "B<double fdim(double >I<x>B<, double >I<y>B<);>"
2197 #: build/C/man3/fdim.3:18
2198 msgid "B<float fdimf(float >I<x>B<, float >I<y>B<);>"
2202 #: build/C/man3/fdim.3:20
2203 msgid "B<long double fdiml(long double >I<x>B<, long double >I<y>B<);>"
2207 #: build/C/man3/fdim.3:31
2208 msgid "B<fdimf>(), B<fdiml>():"
2212 #: build/C/man3/fdim.3:42
2214 "These functions return the positive difference, max(I<x>-I<y>,0), between "
2219 #: build/C/man3/fdim.3:44
2220 msgid "On success, these functions return the positive difference."
2224 #: 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
2225 msgid "If I<x> or I<y> is a NaN, a NaN is returned."
2229 #: build/C/man3/fdim.3:59 build/C/man3/hypot.3:122
2231 "If the result overflows, a range error occurs, and the functions return "
2232 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively."
2235 #. Unable to test this case, since the best approximation of
2236 #. pi/2 in double precision only yields a tan() value of 1.633e16.
2241 #: 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
2242 msgid "An overflow floating-point exception (B<FE_OVERFLOW>) is raised."
2246 #: build/C/man3/fdim.3:89
2247 msgid "The B<fdim>(), B<fdimf>(), and B<fdiml>() functions are thread-safe."
2251 #: build/C/man3/fdim.3:93 build/C/man3/fmin.3:70
2256 #: build/C/man3/fenv.3:27
2262 #: build/C/man3/fenv.3:27
2268 #: build/C/man3/fenv.3:27 build/C/man7/math_error.7:26 build/C/man3/matherr.3:27
2274 #: build/C/man3/fenv.3:33
2276 "feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag, "
2277 "fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv, "
2278 "feupdateenv, feenableexcept, fedisableexcept, fegetexcept - floating-point "
2279 "rounding and exception handling"
2283 #: build/C/man3/fenv.3:36 build/C/man3/fenv.3:292
2285 msgid "B<#include E<lt>fenv.hE<gt>>\n"
2289 #: build/C/man3/fenv.3:38
2291 msgid "B<int feclearexcept(int >I<excepts>B<);>\n"
2295 #: build/C/man3/fenv.3:40
2297 msgid "B<int fegetexceptflag(fexcept_t *>I<flagp>B<, int >I<excepts>B<);>\n"
2301 #: build/C/man3/fenv.3:42
2303 msgid "B<int feraiseexcept(int >I<excepts>B<);>\n"
2307 #: build/C/man3/fenv.3:44
2309 msgid "B<int fesetexceptflag(const fexcept_t *>I<flagp>B<, int >I<excepts>B<);>\n"
2313 #: build/C/man3/fenv.3:46
2315 msgid "B<int fetestexcept(int >I<excepts>B<);>\n"
2319 #: build/C/man3/fenv.3:48
2321 msgid "B<int fegetround(void);>\n"
2325 #: build/C/man3/fenv.3:50
2327 msgid "B<int fesetround(int >I<rounding_mode>B<);>\n"
2331 #: build/C/man3/fenv.3:52
2333 msgid "B<int fegetenv(fenv_t *>I<envp>B<);>\n"
2337 #: build/C/man3/fenv.3:54
2339 msgid "B<int feholdexcept(fenv_t *>I<envp>B<);>\n"
2343 #: build/C/man3/fenv.3:56
2345 msgid "B<int fesetenv(const fenv_t *>I<envp>B<);>\n"
2349 #: build/C/man3/fenv.3:58
2351 msgid "B<int feupdateenv(const fenv_t *>I<envp>B<);>\n"
2355 #: build/C/man3/fenv.3:64
2357 "These eleven functions were defined in C99, and describe the handling of "
2358 "floating-point rounding and exceptions (overflow, zero-divide, etc.)."
2362 #: build/C/man3/fenv.3:64
2368 #: build/C/man3/fenv.3:69
2370 "The I<divide-by-zero> exception occurs when an operation on finite numbers "
2371 "produces infinity as exact answer."
2375 #: build/C/man3/fenv.3:75
2377 "The I<overflow> exception occurs when a result has to be represented as a "
2378 "floating-point number, but has (much) larger absolute value than the largest "
2379 "(finite) floating-point number that is representable."
2383 #: build/C/man3/fenv.3:82
2385 "The I<underflow> exception occurs when a result has to be represented as a "
2386 "floating-point number, but has smaller absolute value than the smallest "
2387 "positive normalized floating-point number (and would lose much accuracy when "
2388 "represented as a denormalized number)."
2392 #: build/C/man3/fenv.3:92
2394 "The I<inexact> exception occurs when the rounded result of an operation is "
2395 "not equal to the infinite precision result. It may occur whenever "
2396 "I<overflow> or I<underflow> occurs."
2400 #: build/C/man3/fenv.3:97
2402 "The I<invalid> exception occurs when there is no well-defined result for an "
2403 "operation, as for 0/0 or infinity - infinity or sqrt(-1)."
2407 #: build/C/man3/fenv.3:97
2409 msgid "Exception handling"
2413 #: build/C/man3/fenv.3:103
2415 "Exceptions are represented in two ways: as a single bit (exception "
2416 "present/absent), and these bits correspond in some implementation-defined "
2417 "way with bit positions in an integer, and also as an opaque structure that "
2418 "may contain more information about the exception (perhaps the code address "
2419 "where it occurred)."
2423 #: build/C/man3/fenv.3:119
2425 "Each of the macros B<FE_DIVBYZERO>, B<FE_INEXACT>, B<FE_INVALID>, "
2426 "B<FE_OVERFLOW>, B<FE_UNDERFLOW> is defined when the implementation supports "
2427 "handling of the corresponding exception, and if so then defines the "
2428 "corresponding bit(s), so that one can call exception handling functions, for "
2429 "example, using the integer argument B<FE_OVERFLOW>|B<FE_UNDERFLOW>. Other "
2430 "exceptions may be supported. The macro B<FE_ALL_EXCEPT> is the bitwise OR "
2431 "of all bits corresponding to supported exceptions."
2435 #: build/C/man3/fenv.3:124
2437 "The B<feclearexcept>() function clears the supported exceptions represented "
2438 "by the bits in its argument."
2442 #: build/C/man3/fenv.3:132
2444 "The B<fegetexceptflag>() function stores a representation of the state of "
2445 "the exception flags represented by the argument I<excepts> in the opaque "
2450 #: build/C/man3/fenv.3:137
2452 "The B<feraiseexcept>() function raises the supported exceptions represented "
2453 "by the bits in I<excepts>."
2457 #: build/C/man3/fenv.3:148
2459 "The B<fesetexceptflag>() function sets the complete status for the "
2460 "exceptions represented by I<excepts> to the value I<*flagp>. This value "
2461 "must have been obtained by an earlier call of B<fegetexceptflag>() with a "
2462 "last argument that contained all bits in I<excepts>."
2466 #: build/C/man3/fenv.3:155
2468 "The B<fetestexcept>() function returns a word in which the bits are set "
2469 "that were set in the argument I<excepts> and for which the corresponding "
2470 "exception is currently set."
2474 #: build/C/man3/fenv.3:155
2476 msgid "Rounding mode"
2480 #: build/C/man3/fenv.3:163
2482 "The rounding mode determines how the result of floating-point operations is "
2483 "treated when the result cannot be exactly represented in the significand. "
2484 "Various rounding modes may be provided: round to nearest (the default), "
2485 "round up (toward positive infinity), round down (toward negative infinity), "
2486 "and round toward zero."
2490 #: build/C/man3/fenv.3:172
2492 "Each of the macros B<FE_TONEAREST>, B<FE_UPWARD>, B<FE_DOWNWARD>, and "
2493 "B<FE_TOWARDZERO> is defined when the implementation supports getting and "
2494 "setting the corresponding rounding direction."
2498 #: build/C/man3/fenv.3:177
2500 "The B<fegetround>() function returns the macro corresponding to the current "
2505 #: build/C/man3/fenv.3:182
2507 "The B<fesetround>() function sets the rounding mode as specified by its "
2508 "argument and returns zero when it was successful."
2512 #: build/C/man3/fenv.3:190
2514 "C99 and POSIX.1-2008 specify an identifier, B<FLT_ROUNDS>, defined in "
2515 "I<E<lt>float.hE<gt>>, which indicates the implementation-defined rounding "
2516 "behavior for floating-point addition. This identifier has one of the "
2521 #: build/C/man3/fenv.3:190
2527 #: build/C/man3/fenv.3:192
2528 msgid "The rounding mode is not determinable."
2532 #: build/C/man3/fenv.3:192
2538 #: build/C/man3/fenv.3:194
2539 msgid "Rounding is toward 0."
2543 #: build/C/man3/fenv.3:194
2549 #: build/C/man3/fenv.3:196
2550 msgid "Rounding is toward nearest number."
2554 #: build/C/man3/fenv.3:196
2560 #: build/C/man3/fenv.3:198
2561 msgid "Rounding is toward positive infinity."
2565 #: build/C/man3/fenv.3:198
2571 #: build/C/man3/fenv.3:200
2572 msgid "Rounding is toward negative infinity."
2576 #: build/C/man3/fenv.3:202
2577 msgid "Other values represent machine-dependent, nonstandard rounding modes."
2581 #: build/C/man3/fenv.3:208
2583 "The value of B<FLT_ROUNDS> should reflect the current rounding mode as set "
2584 "by B<fesetround>() (but see BUGS)."
2588 #: build/C/man3/fenv.3:208
2590 msgid "Floating-point environment"
2594 #: build/C/man3/fenv.3:220
2596 "The entire floating-point environment, including control modes and status "
2597 "flags, can be handled as one opaque object, of type I<fenv_t>. The default "
2598 "environment is denoted by B<FE_DFL_ENV> (of type I<const fenv_t\\ *>). This "
2599 "is the environment setup at program start and it is defined by ISO C to have "
2600 "round to nearest, all exceptions cleared and a nonstop (continue on "
2605 #: build/C/man3/fenv.3:225
2607 "The B<fegetenv>() function saves the current floating-point environment in "
2608 "the object I<*envp>."
2612 #: build/C/man3/fenv.3:232
2614 "The B<feholdexcept>() function does the same, then clears all exception "
2615 "flags, and sets a nonstop (continue on exceptions) mode, if available. It "
2616 "returns zero when successful."
2620 #: build/C/man3/fenv.3:245
2622 "The B<fesetenv>() function restores the floating-point environment from the "
2623 "object I<*envp>. This object must be known to be valid, for example, the "
2624 "result of a call to B<fegetenv>() or B<feholdexcept>() or equal to "
2625 "B<FE_DFL_ENV>. This call does not raise exceptions."
2629 #: build/C/man3/fenv.3:258
2631 "The B<feupdateenv>() function installs the floating-point environment "
2632 "represented by the object I<*envp>, except that currently raised exceptions "
2633 "are not cleared. After calling this function, the raised exceptions will be "
2634 "a bitwise OR of those previously set with those in I<*envp>. As before, the "
2635 "object I<*envp> must be known to be valid."
2638 #. Earlier seven of these functions were listed as returning void.
2639 #. This was corrected in Corrigendum 1 (ISO/IEC 9899:1999/Cor.1:2001(E))
2640 #. of the C99 Standard.
2642 #: build/C/man3/fenv.3:263
2643 msgid "These functions return zero on success and nonzero if an error occurred."
2647 #: build/C/man3/fenv.3:267
2648 msgid "IEC 60559 (IEC 559:1989), ANSI/IEEE 854, C99, POSIX.1-2001."
2652 #: build/C/man3/fenv.3:268
2658 #: build/C/man3/fenv.3:287
2660 "If possible, the GNU C Library defines a macro B<FE_NOMASK_ENV> which "
2661 "represents an environment where every exception raised causes a trap to "
2662 "occur. You can test for this macro using B<#ifdef>. It is defined only if "
2663 "B<_GNU_SOURCE> is defined. The C99 standard does not define a way to set "
2664 "individual bits in the floating-point mask, for example, to trap on specific "
2665 "flags. Since version 2.2, glibc supports the functions B<feenableexcept>() "
2666 "and B<fedisableexcept>() to set individual floating-point traps, and "
2667 "B<fegetexcept>() to query the state."
2671 #: build/C/man3/fenv.3:294
2673 msgid "B<int feenableexcept(int >I<excepts>B<);>\n"
2677 #: build/C/man3/fenv.3:296
2679 msgid "B<int fedisableexcept(int >I<excepts>B<);>\n"
2683 #: build/C/man3/fenv.3:298
2685 msgid "B<int fegetexcept(void);>\n"
2689 #: build/C/man3/fenv.3:312
2691 "The B<feenableexcept>() and B<fedisableexcept>() functions enable "
2692 "(disable) traps for each of the exceptions represented by I<excepts> and "
2693 "return the previous set of enabled exceptions when successful, and -1 "
2694 "otherwise. The B<fegetexcept>() function returns the set of all currently "
2695 "enabled exceptions."
2698 #. Aug 08, glibc 2.8
2699 #. See http://gcc.gnu.org/ml/gcc/2002-02/msg01535.html
2701 #: build/C/man3/fenv.3:323
2703 "C99 specifies that the value of B<FLT_ROUNDS> should reflect changes to the "
2704 "current rounding mode, as set by B<fesetround>(). Currently, this does not "
2705 "occur: B<FLT_ROUNDS> always has the value 1."
2709 #: build/C/man3/fenv.3:325
2710 msgid "B<math_error>(7)"
2714 #: build/C/man3/finite.3:25
2720 #: build/C/man3/finite.3:25
2726 #: build/C/man3/finite.3:29
2728 "finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl - BSD "
2729 "floating-point classification functions"
2733 #: build/C/man3/finite.3:34
2735 msgid "B<int finite(double >I<x>B<);>\n"
2739 #: build/C/man3/finite.3:36
2741 msgid "B<int finitef(float >I<x>B<);>\n"
2745 #: build/C/man3/finite.3:38
2747 msgid "B<int finitel(long double >I<x>B<);>\n"
2751 #: build/C/man3/finite.3:40
2753 msgid "B<int isinf(double >I<x>B<);>\n"
2757 #: build/C/man3/finite.3:42
2759 msgid "B<int isinff(float >I<x>B<);>\n"
2763 #: build/C/man3/finite.3:44
2765 msgid "B<int isinfl(long double >I<x>B<);>\n"
2769 #: build/C/man3/finite.3:46
2771 msgid "B<int isnan(double >I<x>B<);>\n"
2775 #: build/C/man3/finite.3:48
2777 msgid "B<int isnanf(float >I<x>B<);>\n"
2781 #: build/C/man3/finite.3:50
2783 msgid "B<int isnanl(long double >I<x>B<);>\n"
2787 #: build/C/man3/finite.3:61
2788 msgid "B<finite>(), B<finitef>(), B<finitel>():"
2792 #: build/C/man3/finite.3:63 build/C/man3/finite.3:76 build/C/man3/lgamma.3:65
2793 msgid "_BSD_SOURCE || _SVID_SOURCE"
2797 #: build/C/man3/finite.3:65 build/C/man3/fpclassify.3:58
2802 #: build/C/man3/finite.3:67
2804 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600 || "
2809 #: build/C/man3/finite.3:74
2810 msgid "B<isinff>(), B<isinfl>():"
2814 #: build/C/man3/finite.3:78 build/C/man3/fpclassify.3:50
2819 #: build/C/man3/finite.3:80
2820 msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE;"
2824 #: build/C/man3/finite.3:86
2825 msgid "B<isnanf>(), B<isnanl>():"
2829 #: build/C/man3/finite.3:88 build/C/man3/gamma.3:38 build/C/man3/scalb.3:58
2830 msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600"
2834 #: build/C/man3/finite.3:100
2836 "The B<finite>(), B<finitef>(), and B<finitel>() functions return a nonzero "
2837 "value if I<x> is neither infinite nor a \"not-a-number\" (NaN) value, and 0 "
2842 #: build/C/man3/finite.3:110
2844 "The B<isnan>(), B<isnanf>(), and B<isnanl>() functions return a nonzero "
2845 "value if I<x> is a NaN value, and 0 otherwise."
2849 #: build/C/man3/finite.3:121
2851 "The B<isinf>(), B<isinff>(), and B<isinfl>() functions return 1 if I<x> is "
2852 "positive infinity, -1 if I<x> is negative infinity, and 0 otherwise."
2856 #: build/C/man3/finite.3:135
2858 "The B<finite>(), B<finitef>(), B<finitel>(), B<isinf>(), B<isinff>(), "
2859 "B<isinfl>(), B<isnan>(), B<isnanf>(), and B<isnanl>() functions are "
2864 #. finite* not on HP-UX; they exist on Tru64.
2868 #. function occurs in 4.3BSD.
2869 #. see IEEE.3 in the 4.3BSD manual
2871 #: build/C/man3/finite.3:155
2873 "Note that these functions are obsolete. C99 defines macros B<isfinite>(), "
2874 "B<isinf>(), and B<isnan>() (for all types) replacing them. Further note "
2875 "that the C99 B<isinf>() has weaker guarantees on the return value. See "
2880 #: build/C/man3/finite.3:157
2881 msgid "B<fpclassify>(3)"
2885 #: build/C/man3/floor.3:27
2891 #: build/C/man3/floor.3:27
2897 #: build/C/man3/floor.3:30
2898 msgid "floor, floorf, floorl - largest integral value not greater than argument"
2902 #: build/C/man3/floor.3:35
2904 msgid "B<double floor(double >I<x>B<);>\n"
2908 #: build/C/man3/floor.3:37
2910 msgid "B<float floorf(float >I<x>B<);>\n"
2914 #: build/C/man3/floor.3:39
2916 msgid "B<long double floorl(long double >I<x>B<);>\n"
2920 #: build/C/man3/floor.3:51
2921 msgid "B<floorf>(), B<floorl>():"
2925 #: build/C/man3/floor.3:62
2927 "These functions return the largest integral value that is not greater than "
2932 #: build/C/man3/floor.3:68
2933 msgid "For example, I<floor(0.5)> is 0.0, and I<floor(-0.5)> is -1.0."
2937 #: build/C/man3/floor.3:71
2938 msgid "These functions return the floor of I<x>."
2942 #: build/C/man3/floor.3:77
2943 msgid "If I<x> is integral, +0, -0, NaN, or an infinity, I<x> itself is returned."
2947 #: build/C/man3/floor.3:88
2948 msgid "The B<floor>(), B<floorf>(), and B<floorl>() functions are thread-safe."
2952 #: build/C/man3/floor.3:117
2954 "B<ceil>(3), B<lrint>(3), B<nearbyint>(3), B<rint>(3), B<round>(3), "
2959 #: build/C/man3/fma.3:12
2965 #: build/C/man3/fma.3:12 build/C/man3/fmax.3:9 build/C/man3/fmin.3:9
2971 #: build/C/man3/fma.3:15
2972 msgid "fma, fmaf, fmal - floating-point multiply and add"
2976 #: build/C/man3/fma.3:20
2978 msgid "B<double fma(double >I<x>B<, double >I<y>B<, double >I<z>B<);>\n"
2982 #: build/C/man3/fma.3:22
2984 msgid "B<float fmaf(float >I<x>B<, float >I<y>B<, float >I<z>B<);>\n"
2988 #: build/C/man3/fma.3:24
2991 "B<long double fmal(long double >I<x>B<, long double >I<y>B<, long double "
2996 #: build/C/man3/fma.3:37
2997 msgid "B<fma>(), B<fmaf>(), B<fmal>():"
3001 #: build/C/man3/fma.3:53
3003 "The B<fma>() function computes I<x> * I<y> + I<z>. The result is rounded "
3004 "as one ternary operation according to the current rounding mode (see "
3009 #: build/C/man3/fma.3:57
3011 "These functions return the value of I<x> * I<y> + I<z>, rounded as one "
3012 "ternary operation."
3016 #: build/C/man3/fma.3:73
3018 "If I<x> times I<y> is an exact infinity, and I<z> is an infinity with the "
3019 "opposite sign, a domain error occurs, and a NaN is returned."
3022 #. POSIX.1-2008 allows some possible differences for the following two
3023 #. domain error cases, but on Linux they are treated the same (AFAICS).
3024 #. Nevertheless, we'll mirror POSIX.1 and describe the two cases
3026 #. POSIX.1 says that a NaN or an implementation-defined value shall
3027 #. be returned for this case.
3029 #: build/C/man3/fma.3:89
3031 "If one of I<x> or I<y> is an infinity, the other is 0, and I<z> is not a "
3032 "NaN, a domain error occurs, and a NaN is returned."
3035 #. POSIX.1 makes the domain error optional for this case.
3037 #: build/C/man3/fma.3:100
3039 "If one of I<x> or I<y> is an infinity, and the other is 0, and I<z> is a "
3040 "NaN, a domain error occurs, and a NaN is returned."
3044 #: build/C/man3/fma.3:109
3046 "If I<x> times I<y> is not an infinity times zero (or vice versa), and I<z> "
3047 "is a NaN, a NaN is returned."
3051 #: build/C/man3/fma.3:113
3053 "If the result overflows, a range error occurs, and an infinity with the "
3054 "correct sign is returned."
3058 #: build/C/man3/fma.3:117
3059 msgid "If the result underflows, a range error occurs, and a signed 0 is returned."
3063 #: build/C/man3/fma.3:124
3066 "Domain error: I<x> * I<y> + I<z>, or I<x> * I<y> is invalid and I<z> is not "
3074 #: build/C/man3/fma.3:133 build/C/man3/ilogb.3:125 build/C/man3/log1p.3:128 build/C/man3/lrint.3:102 build/C/man3/lround.3:105 build/C/man3/remainder.3:165 build/C/man3/remquo.3:117 build/C/man3/scalb.3:155 build/C/man3/sincos.3:67
3075 msgid "An invalid floating-point exception (B<FE_INVALID>) is raised."
3079 #: build/C/man3/fma.3:141 build/C/man3/hypot.3:143 build/C/man3/tgamma.3:143 build/C/man3/y0.3:194
3081 msgid "Range error: result underflow"
3085 #: build/C/man3/fma.3:164
3086 msgid "The B<fma>(), B<fmaf>(), and B<fmal>() functions are thread-safe."
3090 #: build/C/man3/fma.3:169
3091 msgid "B<remainder>(3), B<remquo>(3)"
3095 #: build/C/man3/fmax.3:9
3101 #: build/C/man3/fmax.3:12
3102 msgid "fmax, fmaxf, fmaxl - determine maximum of two floating-point numbers"
3106 #: build/C/man3/fmax.3:16
3107 msgid "B<double fmax(double >I<x>B<, double >I<y>B<);>"
3111 #: build/C/man3/fmax.3:18
3112 msgid "B<float fmaxf(float >I<x>B<, float >I<y>B<);>"
3116 #: build/C/man3/fmax.3:20
3117 msgid "B<long double fmaxl(long double >I<x>B<, long double >I<y>B<);>"
3121 #: build/C/man3/fmax.3:32
3122 msgid "B<fmax>(), B<fmaxf>(), B<fmaxl>():"
3126 #: build/C/man3/fmax.3:45
3127 msgid "These functions return the larger value of I<x> and I<y>."
3131 #: build/C/man3/fmax.3:50
3132 msgid "These functions return the maximum of I<x> and I<y>."
3136 #: build/C/man3/fmax.3:52 build/C/man3/fmin.3:52
3137 msgid "If one argument is a NaN, the other argument is returned."
3141 #: build/C/man3/fmax.3:54 build/C/man3/fmin.3:54
3142 msgid "If both arguments are NaN, a NaN is returned."
3146 #: build/C/man3/fmax.3:66
3147 msgid "The B<fmax>(), B<fmaxf>(), and B<fmaxl>() functions are thread-safe."
3151 #: build/C/man3/fmax.3:70
3156 #: build/C/man3/fmin.3:9
3162 #: build/C/man3/fmin.3:12
3163 msgid "fmin, fminf, fminl - determine minimum of two floating-point numbers"
3167 #: build/C/man3/fmin.3:16
3168 msgid "B<double fmin(double >I<x>B<, double >I<y>B<);>"
3172 #: build/C/man3/fmin.3:18
3173 msgid "B<float fminf(float >I<x>B<, float >I<y>B<);>"
3177 #: build/C/man3/fmin.3:20
3178 msgid "B<long double fminl(long double >I<x>B<, long double >I<y>B<);>"
3182 #: build/C/man3/fmin.3:32
3183 msgid "B<fmin>(), B<fminf>(), B<fminl>():"
3187 #: build/C/man3/fmin.3:45
3188 msgid "These functions return the lesser value of I<x> and I<y>."
3192 #: build/C/man3/fmin.3:50
3193 msgid "These functions return the minimum of I<x> and I<y>."
3197 #: build/C/man3/fmin.3:66
3198 msgid "The B<fmin>(), B<fminf>(), and B<fminl>() functions are thread-safe."
3202 #: build/C/man3/fmod.3:35
3208 #: build/C/man3/fmod.3:35
3214 #: build/C/man3/fmod.3:38
3215 msgid "fmod, fmodf, fmodl - floating-point remainder function"
3219 #: build/C/man3/fmod.3:43
3221 msgid "B<double fmod(double >I<x>B<, double >I<y>B<);>\n"
3225 #: build/C/man3/fmod.3:45
3227 msgid "B<float fmodf(float >I<x>B<, float >I<y>B<);>\n"
3231 #: build/C/man3/fmod.3:47
3233 msgid "B<long double fmodl(long double >I<x>B<, long double >I<y>B<);>\n"
3237 #: build/C/man3/fmod.3:59
3238 msgid "B<fmodf>(), B<fmodl>():"
3242 #: build/C/man3/fmod.3:87
3244 "The B<fmod>() function computes the floating-point remainder of dividing "
3245 "I<x> by I<y>. The return value is I<x> - I<n> * I<y>, where I<n> is the "
3246 "quotient of I<x> / I<y>, rounded toward zero to an integer."
3250 #: build/C/man3/fmod.3:96
3252 "On success, these functions return the value I<x>\\ -\\ I<n>*I<y>, for some "
3253 "integer I<n>, such that the returned value has the same sign as I<x> and a "
3254 "magnitude less than the magnitude of I<y>."
3258 #: build/C/man3/fmod.3:108
3259 msgid "If I<x> is an infinity, a domain error occurs, and a NaN is returned."
3263 #: build/C/man3/fmod.3:114
3264 msgid "If I<y> is zero, a domain error occurs, and a NaN is returned."
3268 #: build/C/man3/fmod.3:120
3269 msgid "If I<x> is +0 (-0), and I<y> is not zero, +0 (-0) is returned."
3272 #. [XXX see bug above] and \fIx\fP is not a NaN
3274 #: build/C/man3/fmod.3:136 build/C/man3/remainder.3:172
3276 msgid "Domain error: I<y> is zero"
3279 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6784
3281 #: build/C/man3/fmod.3:160
3283 "Before version 2.10, the glibc implementation did not set I<errno> to "
3284 "B<EDOM> when a domain error occurred for an infinite I<x>."
3288 #: build/C/man3/fmod.3:162
3289 msgid "B<remainder>(3)"
3293 #: build/C/man3/fpclassify.3:10
3299 #: build/C/man3/fpclassify.3:10 build/C/man3/frexp.3:33 build/C/man3/ilogb.3:29
3305 #: build/C/man3/fpclassify.3:14
3307 "fpclassify, isfinite, isnormal, isnan, isinf - floating-point classification "
3312 #: build/C/man3/fpclassify.3:19
3314 msgid "B<int fpclassify(>I<x>B<);>\n"
3318 #: build/C/man3/fpclassify.3:21
3320 msgid "B<int isfinite(>I<x>B<);>\n"
3324 #: build/C/man3/fpclassify.3:23
3326 msgid "B<int isnormal(>I<x>B<);>\n"
3330 #: build/C/man3/fpclassify.3:25
3332 msgid "B<int isnan(>I<x>B<);>\n"
3336 #: build/C/man3/fpclassify.3:27
3338 msgid "B<int isinf(>I<x>B<);>\n"
3342 #: build/C/man3/fpclassify.3:42
3343 msgid "B<fpclassify>(), B<isfinite>(), B<isnormal>():"
3347 #: build/C/man3/fpclassify.3:76
3349 "Floating point numbers can have special values, such as infinite or NaN. "
3350 "With the macro B<fpclassify(>I<x>B<)> you can find out what type I<x> is. "
3351 "The macro takes any floating-point expression as argument. The result is "
3352 "one of the following values:"
3356 #: build/C/man3/fpclassify.3:76
3362 #: build/C/man3/fpclassify.3:80
3363 msgid "I<x> is \"Not a Number\"."
3367 #: build/C/man3/fpclassify.3:80
3369 msgid "B<FP_INFINITE>"
3373 #: build/C/man3/fpclassify.3:84
3374 msgid "I<x> is either positive infinity or negative infinity."
3378 #: build/C/man3/fpclassify.3:84
3384 #: build/C/man3/fpclassify.3:88
3385 msgid "I<x> is zero."
3389 #: build/C/man3/fpclassify.3:88
3391 msgid "B<FP_SUBNORMAL>"
3395 #: build/C/man3/fpclassify.3:92
3396 msgid "I<x> is too small to be represented in normalized format."
3400 #: build/C/man3/fpclassify.3:92
3402 msgid "B<FP_NORMAL>"
3406 #: build/C/man3/fpclassify.3:96
3408 "if nothing of the above is correct then it must be a normal floating-point "
3413 #: build/C/man3/fpclassify.3:98
3414 msgid "The other macros provide a short answer to some standard questions."
3418 #: build/C/man3/fpclassify.3:98
3420 msgid "B<isfinite(>I<x>B<)>"
3424 #: build/C/man3/fpclassify.3:101
3425 msgid "returns a nonzero value if"
3429 #: build/C/man3/fpclassify.3:103
3430 msgid "(fpclassify(x) != FP_NAN && fpclassify(x) != FP_INFINITE)"
3434 #: build/C/man3/fpclassify.3:103
3436 msgid "B<isnormal(>I<x>B<)>"
3440 #: build/C/man3/fpclassify.3:107
3441 msgid "returns a nonzero value if (fpclassify(x) == FP_NORMAL)"
3445 #: build/C/man3/fpclassify.3:107
3447 msgid "B<isnan(>I<x>B<)>"
3451 #: build/C/man3/fpclassify.3:111
3452 msgid "returns a nonzero value if (fpclassify(x) == FP_NAN)"
3456 #: build/C/man3/fpclassify.3:111
3458 msgid "B<isinf(>I<x>B<)>"
3462 #: build/C/man3/fpclassify.3:118
3463 msgid "returns 1 if I<x> is positive infinity, and -1 if I<x> is negative infinity."
3467 #: build/C/man3/fpclassify.3:128
3469 "The B<fpclassify>(), B<isfinite>(), B<isnormal>(), B<isnan>(), and "
3470 "B<isinf>() macros are thread-safe."
3474 #: build/C/man3/fpclassify.3:130
3475 msgid "C99, POSIX.1."
3479 #: build/C/man3/fpclassify.3:135
3481 "For B<isinf>(), the standards merely say that the return value is nonzero if "
3482 "and only if the argument has an infinite value."
3486 #: build/C/man3/fpclassify.3:142
3488 "In glibc 2.01 and earlier, B<isinf>() returns a nonzero value (actually: 1) "
3489 "if I<x> is positive infinity or negative infinity. (This is all that C99 "
3494 #: build/C/man3/fpclassify.3:147
3495 msgid "B<finite>(3), B<INFINITY>(3), B<isgreater>(3), B<signbit>(3)"
3499 #: build/C/man3/frexp.3:33
3505 #: build/C/man3/frexp.3:37
3507 "frexp, frexpf, frexpl - convert floating-point number to fractional and "
3508 "integral components"
3512 #: build/C/man3/frexp.3:42
3514 msgid "B<double frexp(double >I<x>B<, int *>I<exp>B<);>\n"
3518 #: build/C/man3/frexp.3:44
3520 msgid "B<float frexpf(float >I<x>B<, int *>I<exp>B<);>\n"
3524 #: build/C/man3/frexp.3:46
3526 msgid "B<long double frexpl(long double >I<x>B<, int *>I<exp>B<);>\n"
3530 #: build/C/man3/frexp.3:58
3531 msgid "B<frexpf>(), B<frexpl>():"
3535 #: build/C/man3/frexp.3:74
3537 "The B<frexp>() function is used to split the number I<x> into a normalized "
3538 "fraction and an exponent which is stored in I<exp>."
3542 #: build/C/man3/frexp.3:86
3544 "The B<frexp>() function returns the normalized fraction. If the argument "
3545 "I<x> is not zero, the normalized fraction is I<x> times a power of two, and "
3546 "its absolute value is always in the range 1/2 (inclusive) to 1 (exclusive), "
3551 #: build/C/man3/frexp.3:92
3553 "If I<x> is zero, then the normalized fraction is zero and zero is stored in "
3558 #: build/C/man3/frexp.3:99
3560 "If I<x> is a NaN, a NaN is returned, and the value of I<*exp> is "
3565 #: build/C/man3/frexp.3:106
3567 "If I<x> is positive infinity (negative infinity), positive infinity "
3568 "(negative infinity) is returned, and the value of I<*exp> is unspecified."
3572 #: build/C/man3/frexp.3:116
3573 msgid "The B<frexp>(), B<frexpf>(), and B<frexpl>() functions are thread-safe."
3577 #: build/C/man3/frexp.3:124
3578 msgid "The program below produces results such as the following:"
3582 #: build/C/man3/frexp.3:131
3585 "$B< ./a.out 2560>\n"
3586 "frexp(2560, &e) = 0.625: 0.625 * 2^12 = 2560\n"
3588 "frexp(-4, &e) = -0.5: -0.5 * 2^3 = -4\n"
3592 #: build/C/man3/frexp.3:133 build/C/man3/matherr.3:360
3594 msgid "Program source"
3598 #: build/C/man3/frexp.3:140
3601 "#include E<lt>math.hE<gt>\n"
3602 "#include E<lt>float.hE<gt>\n"
3603 "#include E<lt>stdio.hE<gt>\n"
3604 "#include E<lt>stdlib.hE<gt>\n"
3608 #: build/C/man3/frexp.3:146
3612 "main(int argc, char *argv[])\n"
3619 #: build/C/man3/frexp.3:149
3622 " x = strtod(argv[1], NULL);\n"
3623 " r = frexp(x, &exp);\n"
3627 #: build/C/man3/frexp.3:154
3630 " printf(\"frexp(%g, &e) = %g: %g * %d^%d = %g\\en\",\n"
3631 " x, r, r, FLT_RADIX, exp, x);\n"
3632 " exit(EXIT_SUCCESS);\n"
3637 #: build/C/man3/frexp.3:158
3638 msgid "B<ldexp>(3), B<modf>(3)"
3642 #: build/C/man3/gamma.3:9
3648 #: build/C/man3/gamma.3:9
3654 #: build/C/man3/gamma.3:12
3655 msgid "gamma, gammaf, gammal - (logarithm of the) gamma function"
3659 #: build/C/man3/gamma.3:16
3660 msgid "B<double gamma(double >I<x>B<);>"
3664 #: build/C/man3/gamma.3:18
3665 msgid "B<float gammaf(float >I<x>B<);>"
3669 #: build/C/man3/gamma.3:20
3670 msgid "B<long double gammal(long double >I<x>B<);>"
3674 #: build/C/man3/gamma.3:30
3679 #: build/C/man3/gamma.3:32 build/C/man3/lgamma.3:69
3680 msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE"
3684 #: build/C/man3/gamma.3:35
3685 msgid "B<gammaf>(), B<gammal>():"
3689 #: build/C/man3/gamma.3:46
3691 "These functions are deprecated: instead, use either the B<tgamma>(3) or the "
3692 "B<lgamma>(3) functions, as appropriate."
3696 #: build/C/man3/gamma.3:49 build/C/man3/lgamma.3:74
3697 msgid "For the definition of the Gamma function, see B<tgamma>(3)."
3701 #: build/C/man3/gamma.3:49
3703 msgid "*BSD version"
3707 #: build/C/man3/gamma.3:53
3709 "The libm in 4.4BSD and some versions of FreeBSD had a B<gamma>() function "
3710 "that computes the Gamma function, as one would expect."
3714 #: build/C/man3/gamma.3:53
3716 msgid "glibc version"
3720 #: build/C/man3/gamma.3:59
3722 "Glibc has a B<gamma>() function that is equivalent to B<lgamma>(3) and "
3723 "computes the natural logarithm of the Gamma function."
3727 #: build/C/man3/gamma.3:62 build/C/man3/gamma.3:65
3728 msgid "See B<lgamma>(3)."
3732 #: build/C/man3/gamma.3:68
3734 "Because of historical variations in behavior across systems, this function "
3735 "is not specified in any standard."
3739 #: build/C/man3/gamma.3:69
3745 #: build/C/man3/gamma.3:81
3747 "4.2BSD had a B<gamma>() that computed ln(|Gamma(|I<x>|)|), leaving the sign "
3748 "of Gamma(|I<x>|) in the external integer I<signgam>. In 4.3BSD the name "
3749 "was changed to B<lgamma>(3), and the man page promises"
3753 #: build/C/man3/gamma.3:85
3755 "At some time in the future the name gamma will be rehabilitated and used for "
3756 "the Gamma function"
3759 #. The FreeBSD man page says about gamma() that it is like lgamma()
3760 #. except that is does not set signgam.
3761 #. Also, that 4.4BSD has a gamma() that computes the true gamma function.
3763 #: build/C/man3/gamma.3:97
3765 "This did indeed happen in 4.4BSD, where B<gamma>() computes the Gamma "
3766 "function (with no effect on I<signgam>). However, this came too late, and "
3767 "we now have B<tgamma>(3), the \"true gamma\" function."
3771 #: build/C/man3/gamma.3:101
3772 msgid "B<lgamma>(3), B<signgam>(3), B<tgamma>(3)"
3776 #: build/C/man3/hypot.3:33
3782 #: build/C/man3/hypot.3:36
3783 msgid "hypot, hypotf, hypotl - Euclidean distance function"
3787 #: build/C/man3/hypot.3:41
3789 msgid "B<double hypot(double >I<x>B<, double >I<y>B<);>\n"
3793 #: build/C/man3/hypot.3:43
3795 msgid "B<float hypotf(float >I<x>B<, float >I<y>B<);>\n"
3799 #: build/C/man3/hypot.3:45
3801 msgid "B<long double hypotl(long double >I<x>B<, long double >I<y>B<);>\n"
3805 #: build/C/man3/hypot.3:56
3810 #: build/C/man3/hypot.3:66
3811 msgid "B<hypotf>(), B<hypotl>():"
3815 #: build/C/man3/hypot.3:87
3817 "The B<hypot>() function returns sqrt(I<x>*I<x>+I<y>*I<y>). This is the "
3818 "length of the hypotenuse of a right-angled triangle with sides of length "
3819 "I<x> and I<y>, or the distance of the point (I<x>,I<y>) from the origin."
3822 #. e.g., hypot(DBL_MIN, DBL_MIN) does the right thing, as does, say
3823 #. hypot(DBL_MAX/2.0, DBL_MAX/2.0).
3825 #: build/C/man3/hypot.3:92
3827 "The calculation is performed without undue overflow or underflow during the "
3828 "intermediate steps of the calculation."
3832 #: build/C/man3/hypot.3:98
3834 "On success, these functions return the length of a right-angled triangle "
3835 "with sides of length I<x> and I<y>."
3839 #: build/C/man3/hypot.3:105
3840 msgid "If I<x> or I<y> is an infinity, positive infinity is returned."
3844 #: build/C/man3/hypot.3:113
3846 "If I<x> or I<y> is a NaN, and the other argument is not an infinity, a NaN "
3850 #. Actually, could the result not be subnormal if both arguments
3851 #. are subnormal? I think not -- mtk, Jul 2008
3853 #: build/C/man3/hypot.3:128
3855 "If both arguments are subnormal, and the result is subnormal, a range error "
3856 "occurs, and the correct result is returned."
3859 #. FIXME . Is it intentional that these functions do not set errno?
3860 #. They do set errno for the y == 0 case, below.
3861 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6783
3863 #: build/C/man3/hypot.3:158 build/C/man3/ilogb.3:130 build/C/man3/remainder.3:172
3864 msgid "These functions do not set I<errno> for this case."
3868 #: build/C/man3/hypot.3:167
3869 msgid "B<cabs>(3), B<sqrt>(3)"
3873 #: build/C/man3/ilogb.3:29
3879 #: build/C/man3/ilogb.3:32
3880 msgid "ilogb, ilogbf, ilogbl - get integer exponent of a floating-point value"
3884 #: build/C/man3/ilogb.3:36
3885 msgid "B<int ilogb(double >I<x>B<);>"
3889 #: build/C/man3/ilogb.3:38
3890 msgid "B<int ilogbf(float >I<x>B<);>"
3894 #: build/C/man3/ilogb.3:40
3895 msgid "B<int ilogbl(long double >I<x>B<);>"
3899 #: build/C/man3/ilogb.3:50
3904 #: build/C/man3/ilogb.3:62
3905 msgid "B<ilogbf>(), B<ilogbl>():"
3909 #: build/C/man3/ilogb.3:78
3911 "These functions return the exponent part of their argument as a signed "
3912 "integer. When no error occurs, these functions are equivalent to the "
3913 "corresponding B<logb>(3) functions, cast to I<int>."
3917 #: build/C/man3/ilogb.3:82
3919 "On success, these functions return the exponent of I<x>, as a signed "
3923 #. the POSIX.1 spec for logb() says logb() gives pole error for this
3924 #. case, but for ilogb() it says domain error.
3925 #. glibc: The numeric value is either `INT_MIN' or `-INT_MAX'.
3927 #: build/C/man3/ilogb.3:90
3929 "If I<x> is zero, then a domain error occurs, and the functions return "
3933 #. glibc: The numeric value is either `INT_MIN' or `INT_MAX'.
3934 #. On i386, FP_ILOGB0 and FP_ILOGBNAN have the same value.
3936 #: build/C/man3/ilogb.3:97
3938 "If I<x> is a NaN, then a domain error occurs, and the functions return "
3943 #. POSIX.1-2001 also says:
3944 #. If the correct value is greater than {INT_MAX}, {INT_MAX}
3945 #. shall be returned and a domain error shall occur.
3947 #. If the correct value is less than {INT_MIN}, {INT_MIN}
3948 #. shall be returned and a domain error shall occur.
3950 #: build/C/man3/ilogb.3:110
3952 "If I<x> is negative infinity or positive infinity, then a domain error "
3953 "occurs, and the functions return B<INT_MAX>."
3957 #: build/C/man3/ilogb.3:117
3959 msgid "Domain error: I<x> is 0 or a NaN"
3962 #. FIXME . Is it intentional that these functions do not set errno,
3963 #. or raise an exception?
3964 #. log(), log2(), log10() do set errno
3965 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6794
3967 #: build/C/man3/ilogb.3:146
3968 msgid "These functions do not set I<errno> or raise an exception for this case."
3972 #: build/C/man3/ilogb.3:154
3973 msgid "The B<ilogb>(), B<ilogbf>(), and B<ilogbl>() functions are thread-safe."
3977 #: build/C/man3/ilogb.3:160
3978 msgid "B<log>(3), B<logb>(3), B<significand>(3)"
3982 #: build/C/man3/infnan.3:33
3988 #: build/C/man3/infnan.3:33
3994 #: build/C/man3/infnan.3:36
3995 msgid "infnan - deal with infinite or not-a-number (NaN) result"
3999 #: build/C/man3/infnan.3:41
4001 msgid "B<double infnan(int >I<error>B<);>\n"
4005 #: build/C/man3/infnan.3:56
4007 "The B<infnan>() function returns a suitable value for infinity and "
4008 "\"not-a-number\" (NaN) results. The value of I<error> can be B<ERANGE> to "
4009 "represent infinity or anything else to represent NaN. I<errno> is also set."
4013 #: build/C/man3/infnan.3:64
4014 msgid "If I<error> is B<ERANGE> (Infinity), B<HUGE_VAL> is returned."
4018 #: build/C/man3/infnan.3:72
4019 msgid "If I<error> is -B<ERANGE> (-Infinity), -B<HUGE_VAL> is returned."
4023 #: build/C/man3/infnan.3:76
4024 msgid "If I<error> is anything else, NAN is returned."
4028 #: build/C/man3/infnan.3:77
4034 #: build/C/man3/infnan.3:82
4035 msgid "The value of I<error> is \"not-a-number\" (NaN)."
4039 #: build/C/man3/infnan.3:82
4045 #: build/C/man3/infnan.3:87
4046 msgid "The value of I<error> is positive infinity or negative infinity."
4050 #: build/C/man3/infnan.3:89
4055 #: build/C/man3/infnan.3:92
4057 "This obsolete function was provided in libc4 and libc5, but is not available "
4062 #: build/C/man3/isgreater.3:10
4068 #: build/C/man3/isgreater.3:10
4074 #: build/C/man3/isgreater.3:14
4076 "isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered - "
4077 "floating-point relational tests without exception for NaN"
4081 #: build/C/man3/isgreater.3:19
4083 msgid "B<int isgreater(>I<x>B<, >I<y>B<);>\n"
4087 #: build/C/man3/isgreater.3:21
4089 msgid "B<int isgreaterequal(>I<x>B<, >I<y>B<);>\n"
4093 #: build/C/man3/isgreater.3:23
4095 msgid "B<int isless(>I<x>B<, >I<y>B<);>\n"
4099 #: build/C/man3/isgreater.3:25
4101 msgid "B<int islessequal(>I<x>B<, >I<y>B<);>\n"
4105 #: build/C/man3/isgreater.3:27
4107 msgid "B<int islessgreater(>I<x>B<, >I<y>B<);>\n"
4111 #: build/C/man3/isgreater.3:29
4113 msgid "B<int isunordered(>I<x>B<, >I<y>B<);>\n"
4117 #: build/C/man3/isgreater.3:40
4118 msgid "All functions described here:"
4122 #: build/C/man3/isgreater.3:55
4124 "The normal relation operations (like B<E<lt>>, \"less than\") will fail if "
4125 "one of the operands is NaN. This will cause an exception. To avoid this, "
4126 "C99 defines the macros listed below."
4130 #: build/C/man3/isgreater.3:61
4132 "These macros are guaranteed to evaluate their arguments only once. The "
4133 "arguments must be of real floating-point type (note: do not pass integer "
4134 "values as arguments to these macros, since the arguments will I<not> be "
4135 "promoted to real-floating types)."
4139 #: build/C/man3/isgreater.3:61
4141 msgid "B<isgreater>()"
4145 #: build/C/man3/isgreater.3:69
4146 msgid "determines I<(x)\\ E<gt>\\ (y)> without an exception if I<x> or I<y> is NaN."
4150 #: build/C/man3/isgreater.3:69
4152 msgid "B<isgreaterequal>()"
4156 #: build/C/man3/isgreater.3:77
4158 "determines I<(x)\\ E<gt>=\\ (y)> without an exception if I<x> or I<y> is "
4163 #: build/C/man3/isgreater.3:77
4169 #: build/C/man3/isgreater.3:85
4170 msgid "determines I<(x)\\ E<lt>\\ (y)> without an exception if I<x> or I<y> is NaN."
4174 #: build/C/man3/isgreater.3:85
4176 msgid "B<islessequal>()"
4180 #: build/C/man3/isgreater.3:93
4182 "determines I<(x)\\ E<lt>=\\ (y)> without an exception if I<x> or I<y> is "
4187 #: build/C/man3/isgreater.3:93
4189 msgid "B<islessgreater>()"
4193 #: build/C/man3/isgreater.3:107
4195 "determines I<(x)\\ E<lt> (y) || (x) E<gt>\\ (y)> without an exception if "
4196 "I<x> or I<y> is NaN. This macro is not equivalent to I<x\\ !=\\ y> because "
4197 "that expression is true if I<x> or I<y> is NaN."
4201 #: build/C/man3/isgreater.3:107
4203 msgid "B<isunordered>()"
4207 #: build/C/man3/isgreater.3:111
4209 "determines whether its arguments are unordered, that is, whether at least "
4210 "one of the arguments is a NaN."
4214 #: build/C/man3/isgreater.3:116
4216 "The macros other than B<isunordered>() return the result of the relational "
4217 "comparison; these macros return 0 if either argument is a NaN."
4221 #: build/C/man3/isgreater.3:123
4222 msgid "B<isunordered>() returns 1 if I<x> or I<y> is NaN and 0 otherwise."
4226 #: build/C/man3/isgreater.3:132
4228 "Not all hardware supports these functions, and where hardware support isn't "
4229 "provided, they will be emulated by macros. This will result in a "
4230 "performance penalty. Don't use these functions if NaN is of no concern for "
4235 #: build/C/man3/isgreater.3:135
4236 msgid "B<fpclassify>(3), B<isnan>(3)"
4240 #: build/C/man3/j0.3:36
4246 #: build/C/man3/j0.3:40
4248 "j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl - Bessel functions of the first "
4253 #: build/C/man3/j0.3:46
4254 msgid "B<double j0(double >I<x>B<);>"
4258 #: build/C/man3/j0.3:48
4259 msgid "B<double j1(double >I<x>B<);>"
4263 #: build/C/man3/j0.3:50
4264 msgid "B<double jn(int >I<n>B<, double >I<x>B<);>"
4268 #: build/C/man3/j0.3:52
4269 msgid "B<float j0f(float >I<x>B<);>"
4273 #: build/C/man3/j0.3:54
4274 msgid "B<float j1f(float >I<x>B<);>"
4278 #: build/C/man3/j0.3:56
4279 msgid "B<float jnf(int >I<n>B<, float >I<x>B<);>"
4283 #: build/C/man3/j0.3:58
4284 msgid "B<long double j0l(long double >I<x>B<);>"
4288 #: build/C/man3/j0.3:60
4289 msgid "B<long double j1l(long double >I<x>B<);>"
4293 #: build/C/man3/j0.3:62
4294 msgid "B<long double jnl(int >I<n>B<, long double >I<x>B<);>"
4298 #: build/C/man3/j0.3:74
4299 msgid "B<j0>(), B<j1>(), B<jn>():"
4303 #: build/C/man3/j0.3:76 build/C/man3/y0.3:76
4304 msgid "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE"
4308 #: build/C/man3/j0.3:84
4309 msgid "B<j0f>(), B<j0l>(), B<j1f>(), B<j1l>(), B<jnf>(), B<jnl>():"
4312 #. Also seems to work: -std=c99 -D_XOPEN_SOURCE
4314 #: build/C/man3/j0.3:87 build/C/man3/y0.3:87
4315 msgid "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600"
4319 #: build/C/man3/j0.3:104
4321 "The B<j0>() and B<j1>() functions return Bessel functions of I<x> of the "
4322 "first kind of orders 0 and 1, respectively. The B<jn>() function returns "
4323 "the Bessel function of I<x> of the first kind of order I<n>."
4327 #: build/C/man3/j0.3:114
4329 "The B<j0f>() etc. and B<j0l>() etc. functions are versions that take and "
4330 "return I<float> and I<long double> values, respectively."
4334 #: build/C/man3/j0.3:118
4336 "On success, these functions return the appropriate Bessel value of the first "
4341 #: build/C/man3/j0.3:129
4343 "If I<x> is too large in magnitude, or the result underflows, a range error "
4344 "occurs, and the return value is 0."
4348 #: build/C/man3/j0.3:136
4350 msgid "Range error: result underflow, or I<x> is too large in magnitude"
4353 #. An underflow floating-point exception
4354 #. .RB ( FE_UNDERFLOW )
4357 #: build/C/man3/j0.3:144
4358 msgid "I<errno> is set to B<ERANGE>."
4361 #. FIXME . Is it intentional that these functions do not raise exceptions?
4363 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6805
4365 #: build/C/man3/j0.3:150
4366 msgid "These functions do not raise exceptions for B<fetestexcept>(3)."
4370 #: build/C/man3/j0.3:156 build/C/man3/y0.3:229
4372 "The functions returning I<double> conform to SVr4, 4.3BSD, POSIX.1-2001. "
4373 "The others are nonstandard functions that also exist on the BSDs."
4377 #: build/C/man3/j0.3:165
4379 "There are errors of up to 2e-16 in the values returned by B<j0>(), B<j1>() "
4380 "and B<jn>() for values of I<x> between -8 and 8."
4384 #: build/C/man3/j0.3:167
4389 #: build/C/man3/ldexp.3:34
4395 #: build/C/man3/ldexp.3:34 build/C/man3/lrint.3:27
4401 #: build/C/man3/ldexp.3:37
4403 "ldexp, ldexpf, ldexpl - multiply floating-point number by integral power of "
4408 #: build/C/man3/ldexp.3:42
4410 msgid "B<double ldexp(double >I<x>B<, int >I<exp>B<);>\n"
4414 #: build/C/man3/ldexp.3:44
4416 msgid "B<float ldexpf(float >I<x>B<, int >I<exp>B<);>\n"
4420 #: build/C/man3/ldexp.3:46
4422 msgid "B<long double ldexpl(long double >I<x>B<, int >I<exp>B<);>\n"
4426 #: build/C/man3/ldexp.3:58
4427 msgid "B<ldexpf>(), B<ldexpl>():"
4431 #: build/C/man3/ldexp.3:73
4433 "The B<ldexp>() function returns the result of multiplying the "
4434 "floating-point number I<x> by 2 raised to the power I<exp>."
4438 #: build/C/man3/ldexp.3:76
4439 msgid "On success, these functions return I<x * (2^exp)>."
4443 #: build/C/man3/ldexp.3:82
4444 msgid "If I<exp> is zero, then I<x> is returned."
4448 #: build/C/man3/ldexp.3:106 build/C/man3/scalb.3:133 build/C/man3/scalbln.3:125
4450 "If the result overflows, a range error occurs, and the functions return "
4451 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with a sign the "
4456 #: build/C/man3/ldexp.3:137
4457 msgid "The B<ldexp>(), B<ldexpf>(), and B<ldexpl>() functions are thread-safe."
4461 #: build/C/man3/ldexp.3:147
4462 msgid "B<frexp>(3), B<modf>(3), B<scalbln>(3)"
4466 #: build/C/man3/lgamma.3:11
4472 #: build/C/man3/lgamma.3:15
4474 "lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log "
4479 #: build/C/man3/lgamma.3:20
4481 msgid "B<double lgamma(double >I<x>B<);>\n"
4485 #: build/C/man3/lgamma.3:22
4487 msgid "B<float lgammaf(float >I<x>B<);>\n"
4491 #: build/C/man3/lgamma.3:24
4493 msgid "B<long double lgammal(long double >I<x>B<);>\n"
4497 #: build/C/man3/lgamma.3:26
4499 msgid "B<double lgamma_r(double >I<x>B<, int *>I<signp>B<);>\n"
4503 #: build/C/man3/lgamma.3:28
4505 msgid "B<float lgammaf_r(float >I<x>B<, int *>I<signp>B<);>\n"
4509 #: build/C/man3/lgamma.3:30
4511 msgid "B<long double lgammal_r(long double >I<x>B<, int *>I<signp>B<);>\n"
4515 #: build/C/man3/lgamma.3:32
4517 msgid "B<extern int >I<signgam>B<;>\n"
4521 #: build/C/man3/lgamma.3:43
4522 msgid "B<lgamma>():"
4526 #: build/C/man3/lgamma.3:53
4527 msgid "B<lgammaf>(), B<lgammal>():"
4531 #: build/C/man3/lgamma.3:63
4532 msgid "B<lgamma_r>(), B<lgammaf_r>(), B<lgammal_r>():"
4536 #: build/C/man3/lgamma.3:67
4541 #: build/C/man3/lgamma.3:86
4543 "The B<lgamma>() function returns the natural logarithm of the absolute "
4544 "value of the Gamma function. The sign of the Gamma function is returned in "
4545 "the external integer I<signgam> declared in I<E<lt>math.hE<gt>>. It is 1 "
4546 "when the Gamma function is positive or zero, -1 when it is negative."
4550 #: build/C/man3/lgamma.3:94
4552 "Since using a constant location I<signgam> is not thread-safe, the functions "
4553 "B<lgamma_r>() etc. have been introduced; they return the sign via the "
4554 "argument I<signp>."
4558 #: build/C/man3/lgamma.3:96
4559 msgid "On success, these functions return the natural logarithm of Gamma(x)."
4563 #: build/C/man3/lgamma.3:104
4564 msgid "If I<x> is 1 or 2, +0 is returned."
4568 #: build/C/man3/lgamma.3:120
4570 "If I<x> is a nonpositive integer, a pole error occurs, and the functions "
4571 "return +B<HUGE_VAL>, +B<HUGE_VALF>, or +B<HUGE_VALL>, respectively."
4575 #: build/C/man3/lgamma.3:130 build/C/man3/tgamma.3:92
4577 "If the result overflows, a range error occurs, and the functions return "
4578 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the correct "
4579 "mathematical sign."
4583 #: build/C/man3/lgamma.3:137
4585 msgid "Pole error: I<x> is a nonpositive integer"
4589 #: build/C/man3/lgamma.3:165
4591 "The B<lgamma>() functions are specified in C99 and POSIX.1-2001. "
4592 "I<signgam> is specified in POSIX.1-2001, but not in C99. The B<lgamma_r>() "
4593 "functions are nonstandard, but present on several other systems."
4596 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6777
4598 #: build/C/man3/lgamma.3:175
4600 "In glibc 2.9 and earlier, when a pole error occurs, I<errno> is set to "
4601 "B<EDOM>; instead of the POSIX-mandated B<ERANGE>. Since version 2.10, glibc "
4602 "does the right thing."
4606 #: build/C/man3/lgamma.3:177
4607 msgid "B<tgamma>(3)"
4611 #: build/C/man3/log.3:36
4617 #: build/C/man3/log.3:39
4618 msgid "log, logf, logl - natural logarithmic function"
4622 #: build/C/man3/log.3:44
4624 msgid "B<double log(double >I<x>B<);>\n"
4628 #: build/C/man3/log.3:46
4630 msgid "B<float logf(float >I<x>B<);>\n"
4634 #: build/C/man3/log.3:48
4636 msgid "B<long double logl(long double >I<x>B<);>\n"
4640 #: build/C/man3/log.3:60
4641 msgid "B<logf>(), B<logl>():"
4645 #: build/C/man3/log.3:73
4646 msgid "The B<log>() function returns the natural logarithm of I<x>."
4650 #: build/C/man3/log.3:76
4651 msgid "On success, these functions return the natural logarithm of I<x>."
4655 #: build/C/man3/log.3:85
4656 msgid "If I<x> is 1, the result is +0."
4660 #: build/C/man3/log.3:100 build/C/man3/logb.3:111
4662 "If I<x> is zero, then a pole error occurs, and the functions return "
4663 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
4667 #: build/C/man3/log.3:105
4669 "If I<x> is negative (including negative infinity), then a domain error "
4670 "occurs, and a NaN (not a number) is returned."
4674 #: build/C/man3/log.3:112 build/C/man3/y0.3:171
4676 msgid "Domain error: I<x> is negative"
4680 #: build/C/man3/log.3:120
4682 msgid "Pole error: I<x> is zero"
4686 #: build/C/man3/log.3:128 build/C/man3/tgamma.3:132
4688 "I<errno> is set to B<ERANGE>. A divide-by-zero floating-point exception "
4689 "(B<FE_DIVBYZERO>) is raised."
4693 #: build/C/man3/log.3:141
4695 "In glibc 2.5 and earlier, taking the B<log>() of a NaN produces a bogus "
4696 "invalid floating-point (B<FE_INVALID>) exception."
4700 #: build/C/man3/log.3:148
4701 msgid "B<cbrt>(3), B<clog>(3), B<log10>(3), B<log1p>(3), B<log2>(3), B<sqrt>(3)"
4705 #: build/C/man3/log10.3:36
4711 #: build/C/man3/log10.3:39
4712 msgid "log10, log10f, log10l - base-10 logarithmic function"
4716 #: build/C/man3/log10.3:44
4718 msgid "B<double log10(double >I<x>B<);>\n"
4722 #: build/C/man3/log10.3:46
4724 msgid "B<float log10f(float >I<x>B<);>\n"
4728 #: build/C/man3/log10.3:48
4730 msgid "B<long double log10l(long double >I<x>B<);>\n"
4734 #: build/C/man3/log10.3:60
4735 msgid "B<log10f>(), B<log10l>():"
4739 #: build/C/man3/log10.3:73
4740 msgid "The B<log10>() function returns the base 10 logarithm of I<x>."
4744 #: build/C/man3/log10.3:76
4745 msgid "On success, these functions return the base 10 logarithm of I<x>."
4749 #: build/C/man3/log10.3:81 build/C/man3/log2.3:81
4751 "For special cases, including where I<x> is 0, 1, negative, infinity, or NaN, "
4756 #: build/C/man3/log10.3:89 build/C/man3/log2.3:89
4758 "For a discussion of the errors that can occur for these functions, see "
4763 #: build/C/man3/log10.3:102
4764 msgid "B<cbrt>(3), B<clog10>(3), B<exp10>(3), B<log>(3), B<log2>(3), B<sqrt>(3)"
4768 #: build/C/man3/log1p.3:29
4774 #: build/C/man3/log1p.3:32
4775 msgid "log1p, log1pf, log1pl - logarithm of 1 plus argument"
4779 #: build/C/man3/log1p.3:37
4781 msgid "B<double log1p(double >I<x>B<);>\n"
4785 #: build/C/man3/log1p.3:39
4787 msgid "B<float log1pf(float >I<x>B<);>\n"
4791 #: build/C/man3/log1p.3:41
4793 msgid "B<long double log1pl(long double >I<x>B<);>\n"
4797 #: build/C/man3/log1p.3:52
4802 #: build/C/man3/log1p.3:63
4803 msgid "B<log1pf>(), B<log1pl>():"
4807 #: build/C/man3/log1p.3:74
4808 msgid "I<log1p(x)> returns a value equivalent to"
4812 #: build/C/man3/log1p.3:77
4814 msgid " log (1 + I<x>)\n"
4818 #: build/C/man3/log1p.3:83
4820 "It is computed in a way that is accurate even if the value of I<x> is near "
4825 #: build/C/man3/log1p.3:86
4826 msgid "On success, these functions return the natural logarithm of I<(1\\ +\\ x)>."
4830 #: build/C/man3/log1p.3:105
4832 "If I<x> is -1, a pole error occurs, and the functions return -B<HUGE_VAL>, "
4833 "-B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
4836 #. POSIX.1 specifies a possible range error if x is subnormal
4837 #. glibc 2.8 doesn't do this
4839 #: build/C/man3/log1p.3:113
4841 "If I<x> is less than -1 (including negative infinity), a domain error "
4842 "occurs, and a NaN (not a number) is returned."
4846 #: build/C/man3/log1p.3:120
4848 msgid "Domain error: I<x> is less than -1"
4852 #: build/C/man3/log1p.3:128
4854 msgid "Pole error: I<x> is -1"
4861 #: build/C/man3/log1p.3:136 build/C/man3/logb.3:131
4862 msgid "A divide-by-zero floating-point exception (B<FE_DIVBYZERO>) is raised."
4866 #: build/C/man3/log1p.3:149
4867 msgid "B<exp>(3), B<expm1>(3), B<log>(3)"
4871 #: build/C/man3/log2.3:36
4877 #: build/C/man3/log2.3:39
4878 msgid "log2, log2f, log2l - base-2 logarithmic function"
4882 #: build/C/man3/log2.3:44
4884 msgid "B<double log2(double >I<x>B<);>\n"
4888 #: build/C/man3/log2.3:46
4890 msgid "B<float log2f(float >I<x>B<);>\n"
4894 #: build/C/man3/log2.3:48
4896 msgid "B<long double log2l(long double >I<x>B<);>\n"
4900 #: build/C/man3/log2.3:61
4901 msgid "B<log2>(), B<log2f>(), B<log2l>():"
4905 #: build/C/man3/log2.3:73
4906 msgid "The B<log2>() function returns the base 2 logarithm of I<x>."
4910 #: build/C/man3/log2.3:76
4911 msgid "On success, these functions return the base 2 logarithm of I<x>."
4915 #: build/C/man3/log2.3:103
4916 msgid "B<cbrt>(3), B<clog2>(3), B<log>(3), B<log10>(3), B<sqrt>(3)"
4920 #: build/C/man3/logb.3:29
4926 #: build/C/man3/logb.3:32
4927 msgid "logb, logbf, logbl - get exponent of a floating-point value"
4931 #: build/C/man3/logb.3:36
4932 msgid "B<double logb(double >I<x>B<);>"
4936 #: build/C/man3/logb.3:38
4937 msgid "B<float logbf(float >I<x>B<);>"
4941 #: build/C/man3/logb.3:40
4942 msgid "B<long double logbl(long double >I<x>B<);>"
4946 #: build/C/man3/logb.3:50
4951 #: build/C/man3/logb.3:61
4952 msgid "B<logbf>(), B<logbl>():"
4956 #: build/C/man3/logb.3:86
4958 "These functions extract the exponent from the internal floating-point "
4959 "representation of I<x> and return it as a floating-point value. The integer "
4960 "constant B<FLT_RADIX>, defined in I<E<lt>float.hE<gt>>, indicates the radix "
4961 "used for the system's floating-point representation. If B<FLT_RADIX> is 2, "
4962 "B<logb(>I<x>B<)> is equal to B<floor(log2(>I<x>B<))>, except that it is "
4967 #: build/C/man3/logb.3:94
4969 "If I<x> is subnormal, B<logb>() returns the exponent I<x> would have if it "
4974 #: build/C/man3/logb.3:97
4975 msgid "On success, these functions return the exponent of I<x>."
4979 #: build/C/man3/logb.3:116
4981 "If I<x> is negative infinity or positive infinity, then positive infinity is "
4986 #: build/C/man3/logb.3:123
4988 msgid "Pole error: I<x> is 0"
4992 #: build/C/man3/logb.3:148
4993 msgid "B<ilogb>(3), B<log>(3)"
4997 #: build/C/man3/lrint.3:27
5003 #: build/C/man3/lrint.3:30
5004 msgid "lrint, lrintf, lrintl, llrint, llrintf, llrintl - round to nearest integer"
5008 #: build/C/man3/lrint.3:35
5010 msgid "B<long int lrint(double >I<x>B<);>\n"
5014 #: build/C/man3/lrint.3:37
5016 msgid "B<long int lrintf(float >I<x>B<);>\n"
5020 #: build/C/man3/lrint.3:39
5022 msgid "B<long int lrintl(long double >I<x>B<);>\n"
5026 #: build/C/man3/lrint.3:41
5028 msgid "B<long long int llrint(double >I<x>B<);>\n"
5032 #: build/C/man3/lrint.3:43
5034 msgid "B<long long int llrintf(float >I<x>B<);>\n"
5038 #: build/C/man3/lrint.3:45
5040 msgid "B<long long int llrintl(long double >I<x>B<);>\n"
5044 #: build/C/man3/lrint.3:56 build/C/man3/lround.3:57
5045 msgid "All functions shown above:"
5049 #: build/C/man3/lrint.3:68
5051 "These functions round their argument to the nearest integer value, using the "
5052 "current rounding direction (see B<fesetround>(3))."
5056 #: build/C/man3/lrint.3:73
5058 "Note that unlike B<rint>(3), etc., the return type of these functions "
5059 "differs from that of their arguments."
5063 #: build/C/man3/lrint.3:75 build/C/man3/lround.3:78 build/C/man3/rint.3:113 build/C/man3/round.3:77 build/C/man3/trunc.3:65
5064 msgid "These functions return the rounded integer value."
5067 #. The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
5069 #: build/C/man3/lrint.3:87 build/C/man3/lround.3:90
5071 "If I<x> is a NaN or an infinity, or the rounded value is too large to be "
5072 "stored in a I<long> (I<long long> in the case of the B<ll*> functions) then "
5073 "a domain error occurs, and the return value is unspecified."
5077 #: build/C/man3/lrint.3:94 build/C/man3/lround.3:97
5079 msgid "Domain error: I<x> is a NaN or infinite, or the rounded value is too large"
5083 #: build/C/man3/lrint.3:120
5085 "The B<lrint>(), B<lrintf>(), B<lrintl>(), B<llrint>(), B<llrintf>(), and "
5086 "B<llrintl>() functions are thread-safe."
5090 #: build/C/man3/lrint.3:129
5092 "B<ceil>(3), B<floor>(3), B<lround>(3), B<nearbyint>(3), B<rint>(3), "
5097 #: build/C/man3/lround.3:27
5103 #: build/C/man3/lround.3:27 build/C/man3/rint.3:27
5109 #: build/C/man3/lround.3:31
5111 "lround, lroundf, lroundl, llround, llroundf, llroundl - round to nearest "
5112 "integer, away from zero"
5116 #: build/C/man3/lround.3:36
5118 msgid "B<long int lround(double >I<x>B<);>\n"
5122 #: build/C/man3/lround.3:38
5124 msgid "B<long int lroundf(float >I<x>B<);>\n"
5128 #: build/C/man3/lround.3:40
5130 msgid "B<long int lroundl(long double >I<x>B<);>\n"
5134 #: build/C/man3/lround.3:42
5136 msgid "B<long long int llround(double >I<x>B<);>\n"
5140 #: build/C/man3/lround.3:44
5142 msgid "B<long long int llroundf(float >I<x>B<);>\n"
5146 #: build/C/man3/lround.3:46
5148 msgid "B<long long int llroundl(long double >I<x>B<);>\n"
5152 #: build/C/man3/lround.3:70
5154 "These functions round their argument to the nearest integer value, rounding "
5155 "away from zero, regardless of the current rounding direction (see "
5160 #: build/C/man3/lround.3:76
5162 "Note that unlike B<round>(3), B<ceil>(3), etc., the return type of these "
5163 "functions differs from that of their arguments."
5167 #: build/C/man3/lround.3:123
5169 "The B<lround>(), B<lroundf>(), B<lroundl>(), B<llround>(), B<llroundf>(), "
5170 "and B<llroundl>() functions are thread-safe."
5174 #: build/C/man3/lround.3:132 build/C/man3/trunc.3:101
5176 "B<ceil>(3), B<floor>(3), B<lrint>(3), B<nearbyint>(3), B<rint>(3), "
5181 #: build/C/man7/math_error.7:26
5187 #: build/C/man7/math_error.7:29
5188 msgid "math_error - detecting errors from mathematical functions"
5192 #: build/C/man7/math_error.7:34
5195 "B<#include E<lt>math.hE<gt>>\n"
5196 "B<#include E<lt>errno.hE<gt>>\n"
5197 "B<#include E<lt>fenv.hE<gt>>\n"
5201 #: build/C/man7/math_error.7:53
5203 "When an error occurs, most library functions indicate this fact by returning "
5204 "a special value (e.g., -1 or NULL). Because they typically return a "
5205 "floating-point number, the mathematical functions declared in "
5206 "I<E<lt>math.hE<gt>> indicate an error using other mechanisms. There are two "
5207 "error-reporting mechanisms: the older one sets I<errno>; the newer one uses "
5208 "the floating-point exception mechanism (the use of B<feclearexcept>(3) and "
5209 "B<fetestexcept>(3), as outlined below) described in B<fenv>(3)."
5213 #: build/C/man7/math_error.7:58
5215 "A portable program that needs to check for an error from a mathematical "
5216 "function should set I<errno> to zero, and make the following call"
5220 #: build/C/man7/math_error.7:62
5222 msgid "feclearexcept(FE_ALL_EXCEPT);\n"
5226 #: build/C/man7/math_error.7:66
5227 msgid "before calling a mathematical function."
5231 #: build/C/man7/math_error.7:72
5233 "Upon return from the mathematical function, if I<errno> is nonzero, or the "
5234 "following call (see B<fenv>(3)) returns nonzero"
5238 #: build/C/man7/math_error.7:77
5241 "fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW |\n"
5247 #. FE_INVALID = 0x01,
5248 #. __FE_DENORM = 0x02,
5249 #. FE_DIVBYZERO = 0x04,
5250 #. FE_OVERFLOW = 0x08,
5251 #. FE_UNDERFLOW = 0x10,
5252 #. FE_INEXACT = 0x20
5255 #: build/C/man7/math_error.7:90
5256 msgid "then an error occurred in the mathematical function."
5260 #: build/C/man7/math_error.7:93
5262 "The error conditions that can occur for mathematical functions are described "
5267 #: build/C/man7/math_error.7:93
5269 msgid "Domain error"
5273 #: build/C/man7/math_error.7:109
5275 "A I<domain error> occurs when a mathematical function is supplied with an "
5276 "argument whose value falls outside the domain for which the function is "
5277 "defined (e.g., giving a negative argument to B<log>(3)). When a domain "
5278 "error occurs, math functions commonly return a NaN (though some functions "
5279 "return a different value in this case); I<errno> is set to B<EDOM>, and an "
5280 "\"invalid\" (B<FE_INVALID>) floating-point exception is raised."
5284 #: build/C/man7/math_error.7:109
5290 #: build/C/man7/math_error.7:133
5292 "A I<pole error> occurs when the mathematical result of a function is an "
5293 "exact infinity (e.g., the logarithm of 0 is negative infinity). When a pole "
5294 "error occurs, the function returns the (signed) value B<HUGE_VAL>, "
5295 "B<HUGE_VALF>, or B<HUGE_VALL>, depending on whether the function result type "
5296 "is I<double>, I<float>, or I<long double>. The sign of the result is that "
5297 "which is mathematically correct for the function. I<errno> is set to "
5298 "B<ERANGE>, and a \"divide-by-zero\" (B<FE_DIVBYZERO>) floating-point "
5299 "exception is raised."
5303 #: build/C/man7/math_error.7:133
5309 #: build/C/man7/math_error.7:140
5311 "A I<range error> occurs when the magnitude of the function result means that "
5312 "it cannot be represented in the result type of the function. The return "
5313 "value of the function depends on whether the range error was an overflow or "
5318 #: build/C/man7/math_error.7:162
5320 "A floating result I<overflows> if the result is finite, but is too large to "
5321 "represented in the result type. When an overflow occurs, the function "
5322 "returns the value B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, depending on "
5323 "whether the function result type is I<double>, I<float>, or I<long double>. "
5324 "I<errno> is set to B<ERANGE>, and an \"overflow\" (B<FE_OVERFLOW>) "
5325 "floating-point exception is raised."
5329 #: build/C/man7/math_error.7:177
5331 "A floating result I<underflows> if the result is too small to be represented "
5332 "in the result type. If an underflow occurs, a mathematical function "
5333 "typically returns 0.0 (C99 says a function shall return \"an "
5334 "implementation-defined value whose magnitude is no greater than the smallest "
5335 "normalized positive number in the specified type\"). I<errno> may be set to "
5336 "B<ERANGE>, and an \"overflow\" (B<FE_UNDERFLOW>) floating-point exception "
5341 #: build/C/man7/math_error.7:187
5343 "Some functions deliver a range error if the supplied argument value, or the "
5344 "correct function result, would be I<subnormal>. A subnormal value is one "
5345 "that is nonzero, but with a magnitude that is so small that it can't be "
5346 "presented in normalized form (i.e., with a 1 in the most significant bit of "
5347 "the significand). The representation of a subnormal number will contain one "
5348 "or more leading zeros in the significand."
5351 #. See CONFORMANCE in the glibc 2.8 (and earlier) source.
5353 #: build/C/man7/math_error.7:209
5355 "The I<math_errhandling> identifier specified by C99 and POSIX.1-2001 is not "
5356 "supported by glibc. This identifier is supposed to indicate which of the "
5357 "two error-notification mechanisms (I<errno>, exceptions retrievable via "
5358 "B<fettestexcept>(3)) is in use. The standards require that at least one be "
5359 "in use, but permit both to be available. The current (version 2.8) "
5360 "situation under glibc is messy. Most (but not all) functions raise "
5361 "exceptions on errors. Some also set I<errno>. A few functions set "
5362 "I<errno>, but don't raise an exception. A very few functions do neither. "
5363 "See the individual manual pages for details."
5366 #. http://www.securecoding.cert.org/confluence/display/seccode/FLP32-C.+Prevent+or+detect+domain+and+range+errors+in+math+functions
5368 #: build/C/man7/math_error.7:222
5370 "To avoid the complexities of using I<errno> and B<fetestexcept>(3) for "
5371 "error checking, it is often advised that one should instead check for bad "
5372 "argument values before each call. For example, the following code ensures "
5373 "that B<log>(3)'s argument is not a NaN and is not zero (a pole error) or "
5374 "less than zero (a domain error):"
5378 #: build/C/man7/math_error.7:226
5380 msgid "double x, r;\n"
5384 #: build/C/man7/math_error.7:230
5387 "if (isnan(x) || islessequal(x, 0)) {\n"
5388 " /* Deal with NaN / pole error / domain error */\n"
5393 #: build/C/man7/math_error.7:232
5395 msgid "r = log(x);\n"
5399 #: build/C/man7/math_error.7:240
5401 "The discussion on this page does not apply to the complex mathematical "
5402 "functions (i.e., those declared by I<E<lt>complex.hE<gt>>), which in general "
5403 "are not required to return errors by C99 and POSIX.1-2001."
5407 #: build/C/man7/math_error.7:256
5409 "The B<gcc>(1) I<-fno-math-errno> option causes the executable to employ "
5410 "implementations of some mathematical functions that are faster than the "
5411 "standard implementations, but do not set I<errno> on error. (The B<gcc>(1) "
5412 "I<-ffast-math> option also enables I<-fno-math-errno>.) An error can still "
5413 "be tested for using B<fetestexcept>(3)."
5417 #: build/C/man7/math_error.7:265
5419 "B<gcc>(1), B<errno>(3), B<fenv>(3), B<fpclassify>(3), B<INFINITY>(3), "
5420 "B<isgreater>(3), B<matherr>(3), B<nan>(3)"
5424 #: build/C/man7/math_error.7:267
5425 msgid "I<info libc>"
5429 #: build/C/man3/matherr.3:27
5435 #: build/C/man3/matherr.3:27
5441 #: build/C/man3/matherr.3:30
5442 msgid "matherr - SVID math library exception handling"
5446 #: build/C/man3/matherr.3:34
5449 "B<#define _SVID_SOURCE> /* See feature_test_macros(7) */\n"
5450 "B<#include E<lt>math.hE<gt>>\n"
5454 #: build/C/man3/matherr.3:36
5456 msgid "B<int matherr(struct exception *>I<exc>B<);>\n"
5460 #: build/C/man3/matherr.3:38
5462 msgid "B<extern _LIB_VERSION_TYPE _LIB_VERSION;>\n"
5466 #: build/C/man3/matherr.3:51
5468 "The System V Interface Definition (SVID) specifies that various math "
5469 "functions should invoke a function called B<matherr>() if a math exception "
5470 "is detected. This function is called before the math function returns; "
5471 "after B<matherr>() returns, the system then returns to the math function, "
5472 "which in turn returns to the caller."
5476 #: build/C/man3/matherr.3:62
5478 "The B<matherr>() mechanism is supported by glibc, but is now obsolete: new "
5479 "applications should use the techniques described in B<math_error>(7) and "
5480 "B<fenv>(3). This page documents the glibc B<matherr>() mechanism as an aid "
5481 "for maintaining and porting older applications."
5485 #: build/C/man3/matherr.3:75
5487 "To employ B<matherr>(), the programmer must define the B<_SVID_SOURCE> "
5488 "feature test macro (before including I<any> header files), and assign the "
5489 "value B<_SVID_> to the external variable B<_LIB_VERSION>."
5493 #: build/C/man3/matherr.3:87
5495 "The system provides a default version of B<matherr>(). This version does "
5496 "nothing, and returns zero (see below for the significance of this). The "
5497 "default B<matherr>() can be overridden by a programmer-defined version, "
5498 "which will be invoked when an exception occurs. The function is invoked "
5499 "with one argument, a pointer to an I<exception> structure, defined as "
5504 #: build/C/man3/matherr.3:97
5507 "struct exception {\n"
5508 " int type; /* Exception type */\n"
5509 " char *name; /* Name of function causing exception */\n"
5510 " double arg1; /* 1st argument to function */\n"
5511 " double arg2; /* 2nd argument to function */\n"
5512 " double retval; /* Function return value */\n"
5517 #: build/C/man3/matherr.3:103
5518 msgid "The I<type> field has one of the following values:"
5522 #: build/C/man3/matherr.3:103
5528 #: build/C/man3/matherr.3:111
5530 "A domain error occurred (the function argument was outside the range for "
5531 "which the function is defined). The return value depends on the function; "
5532 "I<errno> is set to B<EDOM>."
5536 #: build/C/man3/matherr.3:111
5542 #: build/C/man3/matherr.3:122
5544 "A pole error occurred (the function result is an infinity). The return "
5545 "value in most cases is B<HUGE> (the largest single precision floating-point "
5546 "number), appropriately signed. In most cases, I<errno> is set to B<EDOM>."
5550 #: build/C/man3/matherr.3:122
5556 #: build/C/man3/matherr.3:131
5558 "An overflow occurred. In most cases, the value B<HUGE> is returned, and "
5559 "I<errno> is set to B<ERANGE>."
5563 #: build/C/man3/matherr.3:131
5565 msgid "B<UNDERFLOW>"
5569 #: build/C/man3/matherr.3:138
5570 msgid "An underflow occurred. 0.0 is returned, and I<errno> is set to B<ERANGE>."
5574 #: build/C/man3/matherr.3:138
5580 #: build/C/man3/matherr.3:145
5582 "Total loss of significance. 0.0 is returned, and I<errno> is set to "
5587 #: build/C/man3/matherr.3:145
5593 #: build/C/man3/matherr.3:150
5595 "Partial loss of significance. This value is unused on glibc (and many other "
5600 #: build/C/man3/matherr.3:158
5602 "The I<arg1> and I<arg2> fields are the arguments supplied to the function "
5603 "(I<arg2> is undefined for functions that take only one argument)."
5607 #: build/C/man3/matherr.3:166
5609 "The I<retval> field specifies the return value that the math function will "
5610 "return to its caller. The programmer-defined B<matherr>() can modify this "
5611 "field to change the return value of the math function."
5615 #: build/C/man3/matherr.3:173
5617 "If the B<matherr>() function returns zero, then the system sets I<errno> as "
5618 "described above, and may print an error message on standard error (see "
5623 #: build/C/man3/matherr.3:179
5625 "If the B<matherr>() function returns a nonzero value, then the system does "
5626 "not set I<errno>, and doesn't print an error message."
5630 #: build/C/man3/matherr.3:179
5632 msgid "Math functions that employ matherr()"
5636 #: build/C/man3/matherr.3:189
5638 "The table below lists the functions and circumstances in which B<matherr>() "
5639 "is called. The \"Type\" column indicates the value assigned to "
5640 "I<exc-E<gt>type> when calling B<matherr>(). The \"Result\" column is the "
5641 "default return value assigned to I<exc-E<gt>retval>."
5645 #: build/C/man3/matherr.3:195
5647 "The \"Msg?\" and \"errno\" columns describe the default behavior if "
5648 "B<matherr>() returns zero. If the \"Msg?\" columns contains \"y\", then "
5649 "the system prints an error message on standard error."
5653 #: build/C/man3/matherr.3:197
5654 msgid "The table uses the following notations and abbreviations:"
5658 #: build/C/man3/matherr.3:209
5661 "x first argument to function\n"
5662 "y second argument to function\n"
5663 "fin finite value for argument\n"
5664 "neg negative value for argument\n"
5665 "int integral value for argument\n"
5666 "o/f result overflowed\n"
5667 "u/f result underflowed\n"
5668 "|x| absolute value of x\n"
5669 "X_TLOSS is a constant defined in I<E<lt>math.hE<gt>>\n"
5673 #: build/C/man3/matherr.3:216
5675 msgid "Function\tType\tResult\tMsg?\terrno\n"
5679 #: build/C/man3/matherr.3:217
5681 msgid "acos(|x|E<gt>1)\tDOMAIN\tHUGE\ty\tEDOM\n"
5685 #: build/C/man3/matherr.3:218
5687 msgid "asin(|x|E<gt>1)\tDOMAIN\tHUGE\ty\tEDOM\n"
5691 #: build/C/man3/matherr.3:219
5693 msgid "atan2(0,0)\tDOMAIN\tHUGE\ty\tEDOM\n"
5696 #. retval is 0.0/0.0
5698 #: build/C/man3/matherr.3:220
5700 msgid "acosh(xE<lt>1)\tDOMAIN\tNAN\ty\tEDOM\t\n"
5703 #. retval is 0.0/0.0
5705 #: build/C/man3/matherr.3:221
5707 msgid "atanh(|x|E<gt>1)\tDOMAIN\tNAN\ty\tEDOM\t\n"
5712 #: build/C/man3/matherr.3:222
5714 msgid "atanh(|x|==1)\tSING\t(xE<gt>0.0)?\ty\tEDOM\t\n"
5718 #: build/C/man3/matherr.3:223 build/C/man3/matherr.3:268
5720 msgid "\\ \t\\ \tHUGE_VAL :\n"
5724 #: build/C/man3/matherr.3:224 build/C/man3/matherr.3:269
5726 msgid "\\ \t\\ \t-HUGE_VAL\n"
5730 #: build/C/man3/matherr.3:225
5732 msgid "cosh(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5736 #: build/C/man3/matherr.3:226
5738 msgid "sinh(fin) o/f\tOVERFLOW\t(xE<gt>0.0) ?\tn\tERANGE\n"
5742 #: build/C/man3/matherr.3:227
5744 msgid "\\ \t\\ \tHUGE : -HUGE\n"
5748 #: build/C/man3/matherr.3:228
5750 msgid "sqrt(xE<lt>0)\tDOMAIN\t0.0\ty\tEDOM\n"
5754 #: build/C/man3/matherr.3:229
5756 msgid "hypot(fin,fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5760 #: build/C/man3/matherr.3:230
5762 msgid "exp(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5766 #: build/C/man3/matherr.3:231
5768 msgid "exp(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5772 #: build/C/man3/matherr.3:232
5774 msgid "exp2(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5778 #: build/C/man3/matherr.3:233
5780 msgid "exp2(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5784 #: build/C/man3/matherr.3:234
5786 msgid "exp10(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5790 #: build/C/man3/matherr.3:235
5792 msgid "exp10(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5796 #: build/C/man3/matherr.3:236
5798 msgid "j0(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5802 #: build/C/man3/matherr.3:237
5804 msgid "j1(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5808 #: build/C/man3/matherr.3:238
5810 msgid "jn(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5814 #: build/C/man3/matherr.3:239
5816 msgid "y0(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5820 #: build/C/man3/matherr.3:240
5822 msgid "y1(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5826 #: build/C/man3/matherr.3:241
5828 msgid "yn(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5832 #: build/C/man3/matherr.3:242
5834 msgid "y0(0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5838 #: build/C/man3/matherr.3:243
5840 msgid "y0(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5844 #: build/C/man3/matherr.3:244
5846 msgid "y1(0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5850 #: build/C/man3/matherr.3:245
5852 msgid "y1(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5856 #: build/C/man3/matherr.3:246
5858 msgid "yn(n,0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5862 #: build/C/man3/matherr.3:247
5864 msgid "yn(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5868 #: build/C/man3/matherr.3:248
5870 msgid "lgamma(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5874 #: build/C/man3/matherr.3:249
5876 msgid "lgamma(-int) or\tSING\tHUGE\ty\tEDOM\n"
5880 #: build/C/man3/matherr.3:250
5882 msgid "\\ \\ lgamma(0)\n"
5886 #: build/C/man3/matherr.3:251
5888 msgid "tgamma(fin) o/f\tOVERFLOW\tHUGE_VAL\tn\tERANGE\n"
5892 #: build/C/man3/matherr.3:252
5894 msgid "tgamma(-int)\tSING\tNAN\ty\tEDOM\n"
5898 #: build/C/man3/matherr.3:253
5900 msgid "tgamma(0)\tSING\tcopysign(\ty\tERANGE\n"
5904 #: build/C/man3/matherr.3:254
5906 msgid "\\ \t\\ \tHUGE_VAL,x)\n"
5910 #: build/C/man3/matherr.3:255
5912 msgid "log(0)\tSING\t-HUGE\ty\tEDOM\n"
5916 #: build/C/man3/matherr.3:256
5918 msgid "log(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5921 #. different from log()
5923 #: build/C/man3/matherr.3:257
5925 msgid "log2(0)\tSING\t-HUGE\tn\tEDOM\t\n"
5928 #. different from log()
5930 #: build/C/man3/matherr.3:258
5932 msgid "log2(xE<lt>0)\tDOMAIN\t-HUGE\tn\tEDOM\t\n"
5936 #: build/C/man3/matherr.3:259
5938 msgid "log10(0)\tSING\t-HUGE\ty\tEDOM\n"
5942 #: build/C/man3/matherr.3:260
5944 msgid "log10(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5948 #: build/C/man3/matherr.3:261
5950 msgid "pow(0.0,0.0)\tDOMAIN\t0.0\ty\tEDOM\n"
5954 #: build/C/man3/matherr.3:262
5956 msgid "pow(x,y) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5960 #: build/C/man3/matherr.3:263
5962 msgid "pow(x,y) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5966 #: build/C/man3/matherr.3:264
5968 msgid "pow(NaN,0.0)\tDOMAIN\tx\tn\tEDOM\n"
5973 #: build/C/man3/matherr.3:265
5975 msgid "0**neg\tDOMAIN\t0.0\ty\tEDOM\t\n"
5979 #: build/C/man3/matherr.3:266
5981 msgid "neg**non-int\tDOMAIN\t0.0\ty\tEDOM\n"
5985 #: build/C/man3/matherr.3:267
5987 msgid "scalb() o/f\tOVERFLOW\t(xE<gt>0.0) ?\tn\tERANGE\n"
5991 #: build/C/man3/matherr.3:270
5993 msgid "scalb() u/f\tUNDERFLOW\tcopysign(\tn\tERANGE\n"
5997 #: build/C/man3/matherr.3:271
5999 msgid "\\ \t\\ \t\\ \\ 0.0,x)\n"
6003 #: build/C/man3/matherr.3:272
6005 msgid "fmod(x,0)\tDOMAIN\tx\ty\tEDOM\n"
6008 #. retval is 0.0/0.0
6010 #: build/C/man3/matherr.3:273
6012 msgid "remainder(x,0)\tDOMAIN\tNAN\ty\tEDOM\t\n"
6016 #: build/C/man3/matherr.3:296
6018 "The example program demonstrates the use of B<matherr>() when calling "
6019 "B<log>(3). The program takes up to three command-line arguments. The first "
6020 "argument is the floating-point number to be given to B<log>(3). If the "
6021 "optional second argument is provided, then B<_LIB_VERSION> is set to "
6022 "B<_SVID_> so that B<matherr>() is called, and the integer supplied in the "
6023 "command-line argument is used as the return value from B<matherr>(). If the "
6024 "optional third command-line argument is supplied, then it specifies an "
6025 "alternative return value that B<matherr>() should assign as the return "
6026 "value of the math function."
6030 #: build/C/man3/matherr.3:301
6032 "The following example run, where B<log>(3) is given an argument of 0.0, "
6033 "does not use B<matherr>():"
6037 #: build/C/man3/matherr.3:307
6040 "$B< ./a.out 0.0>\n"
6041 "errno: Numerical result out of range\n"
6046 #: build/C/man3/matherr.3:313
6047 msgid "In the following run, B<matherr>() is called, and returns 0:"
6051 #: build/C/man3/matherr.3:323
6054 "$B< ./a.out 0.0 0>\n"
6055 "matherr SING exception in log() function\n"
6056 " args: 0.000000, 0.000000\n"
6057 " retval: -340282346638528859811704183484516925440.000000\n"
6059 "errno: Numerical argument out of domain\n"
6060 "x=-340282346638528859811704183484516925440.000000\n"
6064 #: build/C/man3/matherr.3:327
6065 msgid "The message \"log: SING error\" was printed by the C library."
6069 #: build/C/man3/matherr.3:331
6070 msgid "In the following run, B<matherr>() is called, and returns a nonzero value:"
6074 #: build/C/man3/matherr.3:339
6077 "$B< ./a.out 0.0 1>\n"
6078 "matherr SING exception in log() function\n"
6079 " args: 0.000000, 0.000000\n"
6080 " retval: -340282346638528859811704183484516925440.000000\n"
6081 "x=-340282346638528859811704183484516925440.000000\n"
6085 #: build/C/man3/matherr.3:345
6087 "In this case, the C library did not print a message, and I<errno> was not "
6092 #: build/C/man3/matherr.3:350
6094 "In the following run, B<matherr>() is called, changes the return value of "
6095 "the math function, and returns a nonzero value:"
6099 #: build/C/man3/matherr.3:358
6102 "$B< ./a.out 0.0 1 12345.0>\n"
6103 "matherr SING exception in log() function\n"
6104 " args: 0.000000, 0.000000\n"
6105 " retval: -340282346638528859811704183484516925440.000000\n"
6110 #: build/C/man3/matherr.3:368
6113 "#define _SVID_SOURCE\n"
6114 "#include E<lt>errno.hE<gt>\n"
6115 "#include E<lt>math.hE<gt>\n"
6116 "#include E<lt>stdio.hE<gt>\n"
6117 "#include E<lt>stdlib.hE<gt>\n"
6121 #: build/C/man3/matherr.3:374
6124 "static int matherr_ret = 0; /* Value that matherr()\n"
6125 " should return */\n"
6126 "static int change_retval = 0; /* Should matherr() change\n"
6127 " function\\(aqs return value? */\n"
6128 "static double new_retval; /* New function return value */\n"
6132 #: build/C/man3/matherr.3:389
6136 "matherr(struct exception *exc)\n"
6138 " fprintf(stderr, \"matherr %s exception in %s() function\\en\",\n"
6139 " (exc-E<gt>type == DOMAIN) ? \"DOMAIN\" :\n"
6140 " (exc-E<gt>type == OVERFLOW) ? \"OVERFLOW\" :\n"
6141 " (exc-E<gt>type == UNDERFLOW) ? \"UNDERFLOW\" :\n"
6142 " (exc-E<gt>type == SING) ? \"SING\" :\n"
6143 " (exc-E<gt>type == TLOSS) ? \"TLOSS\" :\n"
6144 " (exc-E<gt>type == PLOSS) ? \"PLOSS\" : \"???\",\n"
6145 " exc-E<gt>name);\n"
6146 " fprintf(stderr, \" args: %f, %f\\en\",\n"
6147 " exc-E<gt>arg1, exc-E<gt>arg2);\n"
6148 " fprintf(stderr, \" retval: %f\\en\", exc-E<gt>retval);\n"
6152 #: build/C/man3/matherr.3:392
6155 " if (change_retval)\n"
6156 " exc-E<gt>retval = new_retval;\n"
6160 #: build/C/man3/matherr.3:395
6163 " return matherr_ret;\n"
6168 #: build/C/man3/matherr.3:400
6172 "main(int argc, char *argv[])\n"
6178 #: build/C/man3/matherr.3:406
6181 " if (argc E<lt> 2) {\n"
6182 " fprintf(stderr, \"Usage: %s E<lt>argvalE<gt>\"\n"
6183 " \" [E<lt>matherr-retE<gt> "
6184 "[E<lt>new-func-retvalE<gt>]]\\en\", argv[0]);\n"
6185 " exit(EXIT_FAILURE);\n"
6190 #: build/C/man3/matherr.3:411
6193 " if (argc E<gt> 2) {\n"
6194 " _LIB_VERSION = _SVID_;\n"
6195 " matherr_ret = atoi(argv[2]);\n"
6200 #: build/C/man3/matherr.3:416
6203 " if (argc E<gt> 3) {\n"
6204 " change_retval = 1;\n"
6205 " new_retval = atof(argv[3]);\n"
6210 #: build/C/man3/matherr.3:420
6213 " x = log(atof(argv[1]));\n"
6214 " if (errno != 0)\n"
6215 " perror(\"errno\");\n"
6219 #: build/C/man3/matherr.3:424
6222 " printf(\"x=%f\\en\", x);\n"
6223 " exit(EXIT_SUCCESS);\n"
6228 #: build/C/man3/matherr.3:429
6229 msgid "B<fenv>(3), B<math_error>(7), B<standards>(7)"
6233 #: build/C/man3/modf.3:33
6239 #: build/C/man3/modf.3:37
6241 "modf, modff, modfl - extract signed integral and fractional values from "
6242 "floating-point number"
6246 #: build/C/man3/modf.3:42
6248 msgid "B<double modf(double >I<x>B<, double *>I<iptr>B<);>\n"
6252 #: build/C/man3/modf.3:44
6254 msgid "B<float modff(float >I<x>B<, float *>I<iptr>B<);>\n"
6258 #: build/C/man3/modf.3:46
6260 msgid "B<long double modfl(long double >I<x>B<, long double *>I<iptr>B<);>\n"
6264 #: build/C/man3/modf.3:58
6265 msgid "B<modf>(), B<modfl>():"
6269 #: build/C/man3/modf.3:76
6271 "The B<modf>() function breaks the argument I<x> into an integral part and a "
6272 "fractional part, each of which has the same sign as I<x>. The integral part "
6273 "is stored in the location pointed to by I<iptr>."
6277 #: build/C/man3/modf.3:81
6278 msgid "The B<modf>() function returns the fractional part of I<x>."
6282 #: build/C/man3/modf.3:87
6283 msgid "If I<x> is a NaN, a NaN is returned, and I<*iptr> is set to a NaN."
6287 #: build/C/man3/modf.3:93
6289 "If I<x> is positive infinity (negative infinity), +0 (-0) is returned, and "
6290 "I<*iptr> is set to positive infinity (negative infinity)."
6294 #: build/C/man3/modf.3:103
6295 msgid "The B<modf>(), B<modff>(), and B<modfl>() functions are thread-safe."
6299 #: build/C/man3/modf.3:112
6300 msgid "B<frexp>(3), B<ldexp>(3)"
6304 #: build/C/man3/nan.3:11
6310 #: build/C/man3/nan.3:14
6311 msgid "nan, nanf, nanl - return 'Not a Number'"
6315 #: build/C/man3/nan.3:18
6316 msgid "B<double nan(const char *>I<tagp>B<);>"
6320 #: build/C/man3/nan.3:20
6321 msgid "B<float nanf(const char *>I<tagp>B<);>"
6325 #: build/C/man3/nan.3:22
6326 msgid "B<long double nanl(const char *>I<tagp>B<);>"
6330 #: build/C/man3/nan.3:34
6331 msgid "B<nan>(), B<nanf>(), B<nanl>():"
6335 #: build/C/man3/nan.3:48
6337 "These functions return a representation (determined by I<tagp>) of a quiet "
6338 "NaN. If the implementation does not support quiet NaNs, these functions "
6343 #: build/C/man3/nan.3:52
6344 msgid "The call I<nan(\"char-sequence\")> is equivalent to:"
6348 #: build/C/man3/nan.3:55
6350 msgid " strtod(\"NAN(char-sequence)\", NULL);\n"
6354 #: build/C/man3/nan.3:65
6356 "Similarly, calls to B<nanf>() and B<nanl>() are equivalent to analogous "
6357 "calls to B<strtof>(3) and B<strtold>(3)."
6361 #: build/C/man3/nan.3:73
6363 "The argument I<tagp> is used in an unspecified manner. On IEEE 754 systems, "
6364 "there are many representations of NaN, and I<tagp> selects one. On other "
6365 "systems it may do nothing."
6369 #: build/C/man3/nan.3:79
6371 "C99, POSIX.1-2001. See also IEC 559 and the appendix with recommended "
6372 "functions in IEEE 754/IEEE 854."
6376 #: build/C/man3/nan.3:83
6377 msgid "B<isnan>(3), B<strtod>(3), B<math_error>(7)"
6381 #: build/C/man3/nextafter.3:11
6387 #: build/C/man3/nextafter.3:11
6393 #: build/C/man3/nextafter.3:15
6395 "nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl - "
6396 "floating-point number manipulation"
6400 #: build/C/man3/nextafter.3:19
6401 msgid "B<double nextafter(double >I<x>B<, double >I<y>B<);>"
6405 #: build/C/man3/nextafter.3:21
6406 msgid "B<float nextafterf(float >I<x>B<, float >I<y>B<);>"
6410 #: build/C/man3/nextafter.3:23
6411 msgid "B<long double nextafterl(long double >I<x>B<, long double >I<y>B<);>"
6415 #: build/C/man3/nextafter.3:25
6416 msgid "B<double nexttoward(double >I<x>B<, long double >I<y>B<);>"
6420 #: build/C/man3/nextafter.3:27
6421 msgid "B<float nexttowardf(float >I<x>B<, long double >I<y>B<);>"
6425 #: build/C/man3/nextafter.3:29
6426 msgid "B<long double nexttowardl(long double >I<x>B<, long double >I<y>B<);>"
6430 #: build/C/man3/nextafter.3:39
6431 msgid "B<nextafter>():"
6435 #: build/C/man3/nextafter.3:51
6436 msgid "B<nextafterf>(), B<nextafterl>():"
6440 #: build/C/man3/nextafter.3:62
6441 msgid "B<nexttoward>(), B<nexttowardf>(), B<nexttowardl>():"
6445 #: build/C/man3/nextafter.3:86
6447 "The B<nextafter>(), B<nextafterf>(), and B<nextafterl>() functions return "
6448 "the next representable floating-point value following I<x> in the direction "
6449 "of I<y>. If I<y> is less than I<x>, these functions will return the largest "
6450 "representable number less than I<x>."
6454 #: build/C/man3/nextafter.3:93
6455 msgid "If I<x> equals I<y>, the functions return I<y>."
6459 #: build/C/man3/nextafter.3:104
6461 "The B<nexttoward>(), B<nexttowardf>(), and B<nexttowardl>() functions do "
6462 "the same as the corresponding B<nextafter>() functions, except that they "
6463 "have a I<long double> second argument."
6467 #: build/C/man3/nextafter.3:110
6469 "On success, these functions return the next representable floating-point "
6470 "value after I<x> in the direction of I<y>."
6474 #: build/C/man3/nextafter.3:120
6475 msgid "If I<x> equals I<y>, then I<y> (cast to the same type as I<x>) is returned."
6480 #: build/C/man3/nextafter.3:140
6482 "If I<x> is finite, and the result would overflow, a range error occurs, and "
6483 "the functions return B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, "
6484 "respectively, with the correct mathematical sign."
6488 #: build/C/man3/nextafter.3:149
6490 "If I<x> is not equal to I<y>, and the correct function result would be "
6491 "subnormal, zero, or underflow, a range error occurs, and either the correct "
6492 "value (if it can be represented), or 0.0, is returned."
6496 #: build/C/man3/nextafter.3:165
6498 msgid "Range error: result is subnormal or underflows"
6502 #: build/C/man3/nextafter.3:190
6504 "The B<nextafter>(), B<nextafterf>(), B<nextafterl>(), B<nexttoward>(), "
6505 "B<nexttowardf>(), and B<nexttowardl>() functions are thread-safe."
6509 #: build/C/man3/nextafter.3:199
6511 "In glibc version 2.5 and earlier, these functions do not raise an underflow "
6512 "floating-point (B<FE_UNDERFLOW>) exception when an underflow occurs."
6516 #: build/C/man3/nextafter.3:201
6517 msgid "B<nearbyint>(3)"
6521 #: build/C/man3/pow.3:35
6527 #: build/C/man3/pow.3:38
6528 msgid "pow, powf, powl - power functions"
6532 #: build/C/man3/pow.3:43
6534 msgid "B<double pow(double >I<x>B<, double >I<y>B<);>\n"
6538 #: build/C/man3/pow.3:45
6540 msgid "B<float powf(float >I<x>B<, float >I<y>B<);>\n"
6544 #: build/C/man3/pow.3:47
6546 msgid "B<long double powl(long double >I<x>B<, long double >I<y>B<);>\n"
6550 #: build/C/man3/pow.3:59
6551 msgid "B<powf>(), B<powl>():"
6555 #: build/C/man3/pow.3:75
6557 "The B<pow>() function returns the value of I<x> raised to the power of "
6562 #: build/C/man3/pow.3:80
6563 msgid "On success, these functions return the value of I<x> to the power of I<y>."
6566 #. The domain error is generated at least as far back as glibc 2.4
6568 #: build/C/man3/pow.3:88
6570 "If I<x> is a finite value less than 0, and I<y> is a finite noninteger, a "
6571 "domain error occurs, and a NaN is returned."
6574 #. The range error is generated at least as far back as glibc 2.4
6576 #: build/C/man3/pow.3:98
6578 "If the result overflows, a range error occurs, and the functions return "
6579 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the "
6580 "mathematically correct sign."
6583 #. POSIX.1 does not specify the sign of the zero,
6584 #. but http://sources.redhat.com/bugzilla/show_bug.cgi?id=2678
6585 #. points out that the zero has the wrong sign in some cases.
6587 #: build/C/man3/pow.3:105
6589 "If result underflows, and is not representable, a range error occurs, and "
6594 #: build/C/man3/pow.3:111
6595 msgid "Except as specified below, if I<x> or I<y> is a NaN, the result is a NaN."
6599 #: build/C/man3/pow.3:117
6600 msgid "If I<x> is +1, the result is 1.0 (even if I<y> is a NaN)."
6604 #: build/C/man3/pow.3:123
6605 msgid "If I<y> is 0, the result is 1.0 (even if I<x> is a NaN)."
6609 #: build/C/man3/pow.3:131
6611 "If I<x> is +0 (-0), and I<y> is an odd integer greater than 0, the result is "
6616 #: build/C/man3/pow.3:139
6618 "If I<x> is 0, and I<y> greater than 0 and not an odd integer, the result is "
6623 #: build/C/man3/pow.3:147
6625 "If I<x> is -1, and I<y> is positive infinity or negative infinity, the "
6630 #: build/C/man3/pow.3:155
6632 "If the absolute value of I<x> is less than 1, and I<y> is negative infinity, "
6633 "the result is positive infinity."
6637 #: build/C/man3/pow.3:163
6639 "If the absolute value of I<x> is greater than 1, and I<y> is negative "
6640 "infinity, the result is +0."
6644 #: build/C/man3/pow.3:171
6646 "If the absolute value of I<x> is less than 1, and I<y> is positive infinity, "
6651 #: build/C/man3/pow.3:179
6653 "If the absolute value of I<x> is greater than 1, and I<y> is positive "
6654 "infinity, the result is positive infinity."
6658 #: build/C/man3/pow.3:187
6660 "If I<x> is negative infinity, and I<y> is an odd integer less than 0, the "
6665 #: build/C/man3/pow.3:195
6667 "If I<x> is negative infinity, and I<y> less than 0 and not an odd integer, "
6672 #: build/C/man3/pow.3:203
6674 "If I<x> is negative infinity, and I<y> is an odd integer greater than 0, the "
6675 "result is negative infinity."
6679 #: build/C/man3/pow.3:211
6681 "If I<x> is negative infinity, and I<y> greater than 0 and not an odd "
6682 "integer, the result is positive infinity."
6686 #: build/C/man3/pow.3:219
6687 msgid "If I<x> is positive infinity, and I<y> less than 0, the result is +0."
6691 #: build/C/man3/pow.3:227
6693 "If I<x> is positive infinity, and I<y> greater than 0, the result is "
6694 "positive infinity."
6698 #: build/C/man3/pow.3:242
6700 "If I<x> is +0 or -0, and I<y> is an odd integer less than 0, a pole error "
6701 "occurs and B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, is returned, with the "
6702 "same sign as I<x>."
6705 #. The pole error is generated at least as far back as glibc 2.4
6707 #: build/C/man3/pow.3:256
6709 "If I<x> is +0 or -0, and I<y> is less than 0 and not an odd integer, a pole "
6710 "error occurs and +B<HUGE_VAL>, +B<HUGE_VALF>, or +B<HUGE_VALL>, is returned."
6714 #: build/C/man3/pow.3:283
6716 msgid "Domain error: I<x> is negative, and I<y> is a finite noninteger"
6720 #: build/C/man3/pow.3:291
6722 msgid "Pole error: I<x> is zero, and I<y> is negative"
6726 #: build/C/man3/pow.3:300
6728 msgid "Range error: the result overflows"
6732 #: build/C/man3/pow.3:308
6734 msgid "Range error: the result underflows"
6738 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6776
6739 #. or possibly 2.9, I haven't found the source code change
6740 #. and I don't have a 2.9 system to test
6742 #: build/C/man3/pow.3:336
6744 "In glibc 2.9 and earlier, when a pole error occurs, I<errno> is set to "
6745 "B<EDOM> instead of the POSIX-mandated B<ERANGE>. Since version 2.10, glibc "
6746 "does the right thing."
6749 #. see bug http://sources.redhat.com/bugzilla/show_bug.cgi?id=3866
6750 #. and http://sources.redhat.com/bugzilla/show_bug.cgi?id=369
6752 #: build/C/man3/pow.3:356
6754 "If I<x> is negative, then large negative or positive I<y> values yield a NaN "
6755 "as the function result, with I<errno> set to B<EDOM>, and an invalid "
6756 "(B<FE_INVALID>) floating-point exception. For example, with B<pow>(), one "
6757 "sees this behavior when the absolute value of I<y> is greater than about "
6761 #. FIXME . Actually, 2.3.2 is the earliest test result I have; so yet
6762 #. to confirm if this error occurs only in 2.3.2.
6764 #: build/C/man3/pow.3:365
6766 "In version 2.3.2 and earlier, when an overflow or underflow error occurs, "
6767 "glibc's B<pow>() generates a bogus invalid floating-point exception "
6768 "(B<FE_INVALID>) in addition to the overflow or underflow exception."
6772 #: build/C/man3/pow.3:369
6773 msgid "B<cbrt>(3), B<cpow>(3), B<sqrt>(3)"
6777 #: build/C/man3/pow10.3:25
6783 #: build/C/man3/pow10.3:28
6784 msgid "pow10, pow10f, pow10l - base-10 power functions"
6788 #: build/C/man3/pow10.3:32 build/C/man3/sincos.3:16
6791 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
6792 "B<#include E<lt>math.hE<gt>>\n"
6796 #: build/C/man3/pow10.3:34
6798 msgid "B<double pow10(double >I<x>B<);>\n"
6802 #: build/C/man3/pow10.3:36
6804 msgid "B<float pow10f(float >I<x>B<);>\n"
6808 #: build/C/man3/pow10.3:38
6810 msgid "B<long double pow10l(long double >I<x>B<);>\n"
6814 #: build/C/man3/pow10.3:47
6815 msgid "The B<pow10>() function returns the value of 10 raised to the power I<x>."
6819 #: build/C/man3/pow10.3:51
6820 msgid "This is a GNU extension."
6824 #: build/C/man3/pow10.3:54
6825 msgid "These functions are identical to the functions listed under B<exp10>(3)."
6829 #: build/C/man3/pow10.3:57
6830 msgid "B<exp10>(3), B<pow>(3)"
6834 #: build/C/man3/remainder.3:37
6840 #: build/C/man3/remainder.3:41
6842 "drem, dremf, dreml, remainder, remainderf, remainderl - floating-point "
6843 "remainder function"
6847 #: build/C/man3/remainder.3:49
6850 "/* The C99 versions */\n"
6851 "B<double remainder(double >I<x>B<, double >I<y>B<);>\n"
6852 "B<float remainderf(float >I<x>B<, float >I<y>B<);>\n"
6853 "B<long double remainderl(long double >I<x>B<, long double >I<y>B<);>\n"
6857 #: build/C/man3/remainder.3:54
6860 "/* Obsolete synonyms */\n"
6861 "B<double drem(double >I<x>B<, double >I<y>B<);>\n"
6862 "B<float dremf(float >I<x>B<, float >I<y>B<);>\n"
6863 "B<long double dreml(long double >I<x>B<, long double >I<y>B<);>\n"
6867 #: build/C/man3/remainder.3:65
6868 msgid "B<remainder>():"
6872 #: build/C/man3/remainder.3:70
6874 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
6875 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || "
6876 "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
6880 #: build/C/man3/remainder.3:77
6881 msgid "B<remainderf>(), B<remainderl>():"
6885 #: build/C/man3/remainder.3:88
6886 msgid "B<drem>(), B<dremf>(), B<dreml>():"
6890 #: build/C/man3/remainder.3:90 build/C/man3/significand.3:35
6891 msgid "_SVID_SOURCE || _BSD_SOURCE"
6895 #: build/C/man3/remainder.3:111
6897 "The B<remainder>() function computes the remainder of dividing I<x> by "
6898 "I<y>. The return value is I<x>-I<n>*I<y>, where I<n> is the value I<x\\ /\\ "
6899 "y>, rounded to the nearest integer. If the absolute value of I<x>-I<n>*I<y> "
6900 "is 0.5, I<n> is chosen to be even."
6904 #: build/C/man3/remainder.3:114
6906 "These functions are unaffected by the current rounding mode (see "
6911 #: build/C/man3/remainder.3:118
6912 msgid "The B<drem>() function does precisely the same thing."
6916 #: build/C/man3/remainder.3:124
6918 "On success, these functions return the floating-point remainder, "
6919 "I<x>-I<n>*I<y>. If the return value is 0, it has the sign of I<x>."
6923 #: build/C/man3/remainder.3:139 build/C/man3/remquo.3:92
6925 "If I<x> is an infinity, and I<y> is not a NaN, a domain error occurs, and a "
6930 #: build/C/man3/remainder.3:150 build/C/man3/remquo.3:101
6932 "If I<y> is zero, and I<x> is not a NaN, a domain error occurs, and a NaN is "
6937 #: build/C/man3/remainder.3:157
6939 msgid "Domain error: I<x> is an infinity and I<y> is not a NaN"
6944 #: build/C/man3/remainder.3:188
6946 "The functions B<remainder>(), B<remainderf>(), and B<remainderl>() are "
6947 "specified in C99 and POSIX.1-2001."
6951 #: build/C/man3/remainder.3:204
6953 "The function B<drem>() is from 4.3BSD. The I<float> and I<long double> "
6954 "variants B<dremf>() and B<dreml>() exist on some systems, such as Tru64 "
6955 "and glibc2. Avoid the use of these functions in favor of B<remainder>() "
6960 #: build/C/man3/remainder.3:206
6965 #: build/C/man3/remainder.3:208
6967 msgid " remainder(nan(\"\"), 0);\n"
6970 #. FIXME . this bug occurs as at glibc 2.8.
6971 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6779
6973 #: build/C/man3/remainder.3:213
6975 "returns a NaN, as expected, but wrongly causes a domain error; it should "
6976 "yield a silent NaN."
6980 #: build/C/man3/remainder.3:215
6981 msgid "The call \"remainder(29.0, 3.0)\" returns -1."
6985 #: build/C/man3/remainder.3:219
6986 msgid "B<div>(3), B<fmod>(3), B<remquo>(3)"
6990 #: build/C/man3/remquo.3:12
6996 #: build/C/man3/remquo.3:15
6997 msgid "remquo, remquof, remquol - remainder and part of quotient"
7001 #: build/C/man3/remquo.3:20
7003 msgid "B<double remquo(double >I<x>B<, double >I<y>B<, int *>I<quo>B<);>\n"
7007 #: build/C/man3/remquo.3:22
7009 msgid "B<float remquof(float >I<x>B<, float >I<y>B<, int *>I<quo>B<);>\n"
7013 #: build/C/man3/remquo.3:24
7016 "B<long double remquol(long double >I<x>B<, long double >I<y>B<, int "
7021 #: build/C/man3/remquo.3:37
7022 msgid "B<remquo>(), B<remquof>(), B<remquol>():"
7026 #: build/C/man3/remquo.3:55
7028 "These functions compute the remainder and part of the quotient upon division "
7029 "of I<x> by I<y>. A few bits of the quotient are stored via the I<quo> "
7030 "pointer. The remainder is returned as the function result."
7034 #: build/C/man3/remquo.3:59
7036 "The value of the remainder is the same as that computed by the "
7037 "B<remainder>(3) function."
7041 #: build/C/man3/remquo.3:65
7043 "The value stored via the I<quo> pointer has the sign of I<x\\ /\\ y> and "
7044 "agrees with the quotient in at least the low order 3 bits."
7047 #. A possible application of this function might be the computation
7048 #. of sin(x). Compute remquo(x, pi/2, &quo) or so.
7050 #. glibc, UnixWare: return 3 bits
7051 #. MacOS 10: return 7 bits
7053 #: build/C/man3/remquo.3:73
7055 "For example, I<remquo(29.0,\\ 3.0)> returns -1.0 and might store 2. Note "
7056 "that the actual quotient might not fit in an integer."
7060 #: build/C/man3/remquo.3:77
7062 "On success, these functions return the same value as the analogous functions "
7063 "described in B<remainder>(3)."
7067 #: build/C/man3/remquo.3:108
7070 "Domain error: I<x> is an infinity or I<y> is 0, and the other argument is "
7075 #: build/C/man3/remquo.3:130
7076 msgid "B<fmod>(3), B<logb>(3), B<remainder>(3)"
7080 #: build/C/man3/rint.3:27
7086 #: build/C/man3/rint.3:31
7088 "nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest "
7093 #: build/C/man3/rint.3:36
7095 msgid "B<double nearbyint(double >I<x>B<);>\n"
7099 #: build/C/man3/rint.3:38
7101 msgid "B<float nearbyintf(float >I<x>B<);>\n"
7105 #: build/C/man3/rint.3:40
7107 msgid "B<long double nearbyintl(long double >I<x>B<);>\n"
7111 #: build/C/man3/rint.3:42
7113 msgid "B<double rint(double >I<x>B<);>\n"
7117 #: build/C/man3/rint.3:44
7119 msgid "B<float rintf(float >I<x>B<);>\n"
7123 #: build/C/man3/rint.3:46
7125 msgid "B<long double rintl(long double >I<x>B<);>\n"
7129 #: build/C/man3/rint.3:59
7130 msgid "B<nearbyint>(), B<nearbyintf>(), B<nearbyintl>():"
7134 #: build/C/man3/rint.3:61
7136 "_XOPEN_SOURCE\\ E<gt>=\\ 600 || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L || "
7141 #: build/C/man3/rint.3:67
7146 #: build/C/man3/rint.3:78
7147 msgid "B<rintf>(), B<rintl>():"
7151 #: build/C/man3/rint.3:98
7153 "The B<nearbyint>(), B<nearbyintf>(), and B<nearbyintl>() functions round "
7154 "their argument to an integer value in floating-point format, using the "
7155 "current rounding direction (see B<fesetround>(3)) and without raising the "
7156 "I<inexact> exception."
7160 #: build/C/man3/rint.3:111
7162 "The B<rint>(), B<rintf>(), and B<rintl>() functions do the same, but will "
7163 "raise the I<inexact> exception (B<FE_INEXACT>, checkable via "
7164 "B<fetestexcept>(3)) when the result differs in value from the argument."
7168 #: build/C/man3/rint.3:133
7170 "The B<nearbyint>(), B<nearbyintf>(), B<nearbyintl>(), B<rint>(), B<rintf>(), "
7171 "and B<rintl>() functions are thread-safe."
7175 #: build/C/man3/rint.3:155
7177 "If you want to store the rounded value in an integer type, you probably want "
7178 "to use one of the functions described in B<lrint>(3) instead."
7182 #: build/C/man3/rint.3:161
7183 msgid "B<ceil>(3), B<floor>(3), B<lrint>(3), B<round>(3), B<trunc>(3)"
7187 #: build/C/man3/round.3:27
7193 #: build/C/man3/round.3:30
7194 msgid "round, roundf, roundl - round to nearest integer, away from zero"
7198 #: build/C/man3/round.3:35
7200 msgid "B<double round(double >I<x>B<);>\n"
7204 #: build/C/man3/round.3:37
7206 msgid "B<float roundf(float >I<x>B<);>\n"
7210 #: build/C/man3/round.3:39
7212 msgid "B<long double roundl(long double >I<x>B<);>\n"
7216 #: build/C/man3/round.3:52
7217 msgid "B<round>(), B<roundf>(), B<roundl>():"
7221 #: build/C/man3/round.3:69
7223 "These functions round I<x> to the nearest integer, but round halfway cases "
7224 "away from zero (regardless of the current rounding direction, see "
7225 "B<fenv>(3)), instead of to the nearest even integer like B<rint>(3)."
7229 #: build/C/man3/round.3:75
7230 msgid "For example, I<round(0.5)> is 1.0, and I<round(-0.5)> is -1.0."
7234 #: build/C/man3/round.3:96
7235 msgid "The B<round>(), B<roundf>(), and B<roundl>() functions are thread-safe."
7238 #. The POSIX.1-2001 APPLICATION USAGE SECTION discusses this point.
7240 #: build/C/man3/round.3:114
7242 "POSIX.1-2001 contains text about overflow (which might set I<errno> to "
7243 "B<ERANGE>, or raise an B<FE_OVERFLOW> exception). In practice, the result "
7244 "cannot overflow on any current machine, so this error-handling stuff is just "
7245 "nonsense. (More precisely, overflow can happen only when the maximum value "
7246 "of the exponent is smaller than the number of mantissa bits. For the "
7247 "IEEE-754 standard 32-bit and 64-bit floating-point numbers the maximum value "
7248 "of the exponent is 128 (respectively, 1024), and the number of mantissa bits "
7249 "is 24 (respectively, 53).)"
7253 #: build/C/man3/round.3:119
7255 "If you want to store the rounded value in an integer type, you probably want "
7256 "to use one of the functions described in B<lround>(3) instead."
7260 #: build/C/man3/round.3:126
7262 "B<ceil>(3), B<floor>(3), B<lround>(3), B<nearbyint>(3), B<rint>(3), "
7267 #: build/C/man3/scalb.3:27
7273 #: build/C/man3/scalb.3:27
7279 #: build/C/man3/scalb.3:31
7281 "scalb, scalbf, scalbl - multiply floating-point number by integral power of "
7286 #: build/C/man3/scalb.3:35
7287 msgid "B<double scalb(double >I<x>B<, double >I<exp>B<);>"
7291 #: build/C/man3/scalb.3:37
7292 msgid "B<float scalbf(float >I<x>B<, float >I<exp>B<);>"
7296 #: build/C/man3/scalb.3:39
7297 msgid "B<long double scalbl(long double >I<x>B<, long double >I<exp>B<);>"
7301 #: build/C/man3/scalb.3:49
7306 #: build/C/man3/scalb.3:52
7308 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
7309 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
7313 #: build/C/man3/scalb.3:56
7314 msgid "B<scalbf>(), B<scalbl>():"
7318 #: build/C/man3/scalb.3:69 build/C/man3/scalbln.3:85
7320 "These functions multiply their first argument I<x> by B<FLT_RADIX> (probably "
7321 "2) to the power of I<exp>, that is:"
7325 #: build/C/man3/scalb.3:72 build/C/man3/scalbln.3:88
7327 msgid " x * FLT_RADIX ** exp\n"
7330 #. not in /usr/include but in a gcc lib
7332 #: build/C/man3/scalb.3:79 build/C/man3/scalbln.3:95
7334 "The definition of B<FLT_RADIX> can be obtained by including "
7335 "I<E<lt>float.hE<gt>>."
7339 #: build/C/man3/scalb.3:86 build/C/man3/scalbln.3:102
7340 msgid "On success, these functions return I<x> * B<FLT_RADIX> ** I<exp>."
7344 #: build/C/man3/scalb.3:92
7345 msgid "If I<x> or I<exp> is a NaN, a NaN is returned."
7349 #: build/C/man3/scalb.3:100
7351 "If I<x> is positive infinity (negative infinity), and I<exp> is not negative "
7352 "infinity, positive infinity (negative infinity) is returned."
7356 #: build/C/man3/scalb.3:106
7358 "If I<x> is +0 (-0), and I<exp> is not positive infinity, +0 (-0) is "
7363 #: build/C/man3/scalb.3:114
7365 "If I<x> is zero, and I<exp> is positive infinity, a domain error occurs, and "
7366 "a NaN is returned."
7370 #: build/C/man3/scalb.3:123
7372 "If I<x> is an infinity, and I<exp> is negative infinity, a domain error "
7373 "occurs, and a NaN is returned."
7377 #: build/C/man3/scalb.3:138 build/C/man3/scalbln.3:130
7379 "If the result underflows, a range error occurs, and the functions return "
7380 "zero, with a sign the same as I<x>."
7384 #: build/C/man3/scalb.3:145
7387 "Domain error: I<x> is 0, and I<exp> is positive infinity, or I<x> is "
7388 "positive infinity and I<exp> is negative infinity and the other argument is "
7393 #: build/C/man3/scalb.3:191
7395 "B<scalb>() is specified in POSIX.1-2001, but marked obsolescent. "
7396 "POSIX.1-2008 removes the specification of B<scalb>(), recommending the use "
7397 "of B<scalbln>(3), B<scalblnf>(3), or B<scalblnl>(3) instead. The "
7398 "B<scalb>() function is from 4.3BSD."
7401 #. Looking at header files: scalbf() is present on the
7402 #. BSDs, Tru64, HP-UX 11, Irix 6.5; scalbl() is on HP-UX 11 and Tru64.
7404 #: build/C/man3/scalb.3:200
7406 "B<scalbf>() and B<scalbl>() are unstandardized; B<scalbf>() is "
7407 "nevertheless present on several other systems"
7411 #: build/C/man3/scalb.3:203
7412 msgid "B<ldexp>(3), B<scalbln>(3)"
7416 #: build/C/man3/scalbln.3:27
7422 #: build/C/man3/scalbln.3:31
7424 "scalbn, scalbnf, scalbnl, scalbln, scalblnf, scalblnl - multiply "
7425 "floating-point number by integral power of radix"
7429 #: build/C/man3/scalbln.3:35
7430 msgid "B<double scalbln(double >I<x>B<, long int >I<exp>B<);>"
7434 #: build/C/man3/scalbln.3:37
7435 msgid "B<float scalblnf(float >I<x>B<, long int >I<exp>B<);>"
7439 #: build/C/man3/scalbln.3:39
7440 msgid "B<long double scalblnl(long double >I<x>B<, long int >I<exp>B<);>"
7444 #: build/C/man3/scalbln.3:41
7445 msgid "B<double scalbn(double >I<x>B<, int >I<exp>B<);>"
7449 #: build/C/man3/scalbln.3:43
7450 msgid "B<float scalbnf(float >I<x>B<, int >I<exp>B<);>"
7454 #: build/C/man3/scalbln.3:45
7455 msgid "B<long double scalbnl(long double >I<x>B<, int >I<exp>B<);>"
7459 #: build/C/man3/scalbln.3:57
7460 msgid "B<scalbln>(), B<scalblnf>(), B<scalblnl>():"
7464 #: build/C/man3/scalbln.3:68
7465 msgid "B<scalbn>(), B<scalbnf>(), B<scalbnl>():"
7469 #: build/C/man3/scalbln.3:171
7471 "The B<scalbn>(), B<scalbnf>(), B<scalbnl>(), B<scalbln>(), B<scalblnf>(), "
7472 "and B<scalblnl>() functions are thread-safe."
7476 #: build/C/man3/scalbln.3:182
7478 "These functions differ from the obsolete functions described in B<scalb>(3) "
7479 "in the type of their second argument. The functions described on this page "
7480 "have a second argument of an integral type, while those in B<scalb>(3) have "
7481 "a second argument of type I<double>."
7485 #: build/C/man3/scalbln.3:189
7487 "If B<FLT_RADIX> equals 2 (which is usual), then B<scalbn>() is equivalent "
7492 #: build/C/man3/scalbln.3:192
7493 msgid "B<ldexp>(3), B<scalb>(3)"
7497 #: build/C/man3/signbit.3:11
7503 #: build/C/man3/signbit.3:11
7509 #: build/C/man3/signbit.3:14
7510 msgid "signbit - test sign of a real floating-point number"
7514 #: build/C/man3/signbit.3:18
7515 msgid "B<int signbit(>I<x>B<);>"
7519 #: build/C/man3/signbit.3:28
7520 msgid "B<signbit>():"
7524 #: build/C/man3/signbit.3:42
7526 "B<signbit>() is a generic macro which can work on all real floating-point "
7527 "types. It returns a nonzero value if the value of I<x> has its sign bit "
7532 #: build/C/man3/signbit.3:51
7534 "This is not the same as I<x E<lt> 0.0>, because IEEE 754 floating point "
7535 "allows zero to be signed. The comparison I<-0.0 E<lt> 0.0> is false, but "
7536 "I<signbit(-0.0)> will return a nonzero value."
7540 #: build/C/man3/signbit.3:53
7541 msgid "NaNs and infinities have a sign bit."
7545 #: build/C/man3/signbit.3:59
7547 "The B<signbit>() macro returns nonzero if the sign of I<x> is negative; "
7548 "otherwise it returns zero."
7552 #: build/C/man3/signbit.3:66
7553 msgid "The B<signbit>() macro is thread-safe."
7557 #: build/C/man3/signbit.3:72
7558 msgid "B<copysign>(3)"
7562 #: build/C/man3/significand.3:9
7568 #: build/C/man3/significand.3:9
7574 #: build/C/man3/significand.3:13
7576 "significand, significandf, significandl - get mantissa of floating-point "
7581 #: build/C/man3/significand.3:17
7582 msgid "B<double significand(double >I<x>B<);>"
7586 #: build/C/man3/significand.3:19
7587 msgid "B<float significandf(float >I<x>B<);>"
7591 #: build/C/man3/significand.3:21
7592 msgid "B<long double significandl(long double >I<x>B<);>"
7596 #: build/C/man3/significand.3:33
7597 msgid "B<significand>(), B<significandf>(), B<significandl>():"
7601 #: build/C/man3/significand.3:44
7603 "The B<significand>() function returns the mantissa of I<x> scaled to the "
7604 "range [1,2). It is equivalent to"
7608 #: build/C/man3/significand.3:47
7609 msgid "scalb(x, (double) -ilogb(x))"
7613 #: build/C/man3/significand.3:51
7615 "This function exists mainly for use in certain standardized tests for IEEE "
7620 #. This function came from BSD.
7622 #: build/C/man3/significand.3:57
7624 "These functions are nonstandard; the I<double> version is available on a "
7625 "number of other systems."
7629 #: build/C/man3/significand.3:60
7630 msgid "B<ilogb>(3), B<scalb>(3)"
7634 #: build/C/man3/sin.3:35
7640 #: build/C/man3/sin.3:38
7641 msgid "sin, sinf, sinl - sine function"
7645 #: build/C/man3/sin.3:43
7647 msgid "B<double sin(double >I<x>B<);>\n"
7651 #: build/C/man3/sin.3:45
7653 msgid "B<float sinf(float >I<x>B<);>\n"
7657 #: build/C/man3/sin.3:47
7659 msgid "B<long double sinl(long double >I<x>B<);>\n"
7663 #: build/C/man3/sin.3:59
7664 msgid "B<sinf>(), B<sinl>():"
7668 #: build/C/man3/sin.3:76
7670 "The B<sin>() function returns the sine of I<x>, where I<x> is given in "
7675 #: build/C/man3/sin.3:79
7676 msgid "On success, these functions return the sine of I<x>."
7680 #: build/C/man3/sin.3:130
7682 "B<acos>(3), B<asin>(3), B<atan>(3), B<atan2>(3), B<cos>(3), B<csin>(3), "
7683 "B<sincos>(3), B<tan>(3)"
7687 #: build/C/man3/sincos.3:9
7693 #: build/C/man3/sincos.3:12
7694 msgid "sincos, sincosf, sincosl - calculate sin and cos simultaneously"
7698 #: build/C/man3/sincos.3:18
7700 msgid "B<void sincos(double >I<x>B<, double *>I<sin>B<, double *>I<cos>B<);>\n"
7704 #: build/C/man3/sincos.3:20
7706 msgid "B<void sincosf(float >I<x>B<, float *>I<sin>B<, float *>I<cos>B<);>\n"
7710 #: build/C/man3/sincos.3:22
7713 "B<void sincosl(long double >I<x>B<, long double *>I<sin>B<, long double "
7718 #: build/C/man3/sincos.3:32
7720 "Several applications need sine and cosine of the same angle I<x>. This "
7721 "function computes both at the same time, and stores the results in I<*sin> "
7726 #: build/C/man3/sincos.3:40
7727 msgid "If I<x> is a NaN, a NaN is returned in I<*sin> and I<*cos>."
7731 #: build/C/man3/sincos.3:49
7733 "If I<x> is positive infinity or negative infinity, a domain error occurs, "
7734 "and a NaN is returned in I<*sin> and I<*cos>."
7738 #: build/C/man3/sincos.3:52
7739 msgid "These functions return I<void>."
7743 #: build/C/man3/sincos.3:77
7744 msgid "This function is a GNU extension."
7748 #: build/C/man3/sincos.3:81
7749 msgid "B<cos>(3), B<sin>(3), B<tan>(3)"
7753 #: build/C/man3/sinh.3:36
7759 #: build/C/man3/sinh.3:39
7760 msgid "sinh, sinhf, sinhl - hyperbolic sine function"
7764 #: build/C/man3/sinh.3:44
7766 msgid "B<double sinh(double >I<x>B<);>\n"
7770 #: build/C/man3/sinh.3:46
7772 msgid "B<float sinhf(float >I<x>B<);>\n"
7776 #: build/C/man3/sinh.3:48
7778 msgid "B<long double sinhl(long double >I<x>B<);>\n"
7782 #: build/C/man3/sinh.3:60
7783 msgid "B<sinhf>(), B<sinhl>():"
7787 #: build/C/man3/sinh.3:75
7789 "The B<sinh>() function returns the hyperbolic sine of I<x>, which is "
7790 "defined mathematically as:"
7794 #: build/C/man3/sinh.3:78
7796 msgid " sinh(x) = (exp(x) - exp(-x)) / 2\n"
7800 #: build/C/man3/sinh.3:82
7801 msgid "On success, these functions return the hyperbolic sine of I<x>."
7805 #. POSIX.1-2001 documents an optional range error (underflow)
7807 #. glibc 2.8 does not do this.
7809 #: build/C/man3/sinh.3:109
7811 "If the result overflows, a range error occurs, and the functions return "
7812 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the same sign "
7817 #: build/C/man3/sinh.3:137
7818 msgid "B<acosh>(3), B<asinh>(3), B<atanh>(3), B<cosh>(3), B<csinh>(3), B<tanh>(3)"
7822 #: build/C/man3/sqrt.3:34
7828 #: build/C/man3/sqrt.3:37
7829 msgid "sqrt, sqrtf, sqrtl - square root function"
7833 #: build/C/man3/sqrt.3:42
7835 msgid "B<double sqrt(double >I<x>B<);>\n"
7839 #: build/C/man3/sqrt.3:44
7841 msgid "B<float sqrtf(float >I<x>B<);>\n"
7845 #: build/C/man3/sqrt.3:46
7847 msgid "B<long double sqrtl(long double >I<x>B<);>\n"
7851 #: build/C/man3/sqrt.3:58
7852 msgid "B<sqrtf>(), B<sqrtl>():"
7856 #: build/C/man3/sqrt.3:71
7857 msgid "The B<sqrt>() function returns the nonnegative square root of I<x>."
7861 #: build/C/man3/sqrt.3:74
7862 msgid "On success, these functions return the square root of I<x>."
7866 #: build/C/man3/sqrt.3:92
7867 msgid "If I<x> is less than -0, a domain error occurs, and a NaN is returned."
7871 #: build/C/man3/sqrt.3:99
7873 msgid "Domain error: I<x> less than -0"
7877 #: build/C/man3/sqrt.3:117
7878 msgid "B<cbrt>(3), B<csqrt>(3), B<hypot>(3)"
7882 #: build/C/man3/tan.3:35
7888 #: build/C/man3/tan.3:38
7889 msgid "tan, tanf, tanl - tangent function"
7893 #: build/C/man3/tan.3:43
7895 msgid "B<double tan(double >I<x>B<);>\n"
7899 #: build/C/man3/tan.3:45
7901 msgid "B<float tanf(float >I<x>B<);>\n"
7905 #: build/C/man3/tan.3:47
7907 msgid "B<long double tanl(long double >I<x>B<);>\n"
7911 #: build/C/man3/tan.3:59
7912 msgid "B<tanf>(), B<tanl>():"
7916 #: build/C/man3/tan.3:76
7918 "The B<tan>() function returns the tangent of I<x>, where I<x> is given in "
7923 #: build/C/man3/tan.3:79
7924 msgid "On success, these functions return the tangent of I<x>."
7927 #. I think overflow can't occur, because the closest floating-point
7928 #. representation of pi/2 is still not close enough to pi/2 to
7929 #. produce a large enough value to overflow.
7930 #. Testing certainly seems to bear this out. -- mtk, Jul 08
7932 #. POSIX.1 allows an optional underflow error;
7933 #. glibc 2.8 doesn't do this
7934 #. POSIX.1 an optional range error for subnormal x;
7935 #. glibc 2.8 doesn't do this
7937 #: build/C/man3/tan.3:107
7939 "If the correct result would overflow, a range error occurs, and the "
7940 "functions return B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, "
7941 "with the mathematically correct sign."
7945 #: build/C/man3/tan.3:154
7947 "B<acos>(3), B<asin>(3), B<atan>(3), B<atan2>(3), B<cos>(3), B<ctan>(3), "
7952 #: build/C/man3/tanh.3:35
7958 #: build/C/man3/tanh.3:38
7959 msgid "tanh, tanhf, tanhl - hyperbolic tangent function"
7963 #: build/C/man3/tanh.3:43
7965 msgid "B<double tanh(double >I<x>B<);>\n"
7969 #: build/C/man3/tanh.3:45
7971 msgid "B<float tanhf(float >I<x>B<);>\n"
7975 #: build/C/man3/tanh.3:47
7977 msgid "B<long double tanhl(long double >I<x>B<);>\n"
7981 #: build/C/man3/tanh.3:59
7982 msgid "B<tanhf>(), B<tanhl>():"
7986 #: build/C/man3/tanh.3:74
7988 "The B<tanh>() function returns the hyperbolic tangent of I<x>, which is "
7989 "defined mathematically as:"
7993 #: build/C/man3/tanh.3:77
7995 msgid " tanh(x) = sinh(x) / cosh(x)\n"
7999 #: build/C/man3/tanh.3:81
8000 msgid "On success, these functions return the hyperbolic tangent of I<x>."
8004 #: build/C/man3/tanh.3:113
8005 msgid "B<acosh>(3), B<asinh>(3), B<atanh>(3), B<cosh>(3), B<ctanh>(3), B<sinh>(3)"
8009 #: build/C/man3/tgamma.3:13
8015 #: build/C/man3/tgamma.3:16
8016 msgid "tgamma, tgammaf, tgammal - true gamma function"
8020 #: build/C/man3/tgamma.3:20
8021 msgid "B<double tgamma(double >I<x>B<);>"
8025 #: build/C/man3/tgamma.3:22
8026 msgid "B<float tgammaf(float >I<x>B<);>"
8030 #: build/C/man3/tgamma.3:24
8031 msgid "B<long double tgammal(long double >I<x>B<);>"
8035 #: build/C/man3/tgamma.3:36
8036 msgid "B<tgamma>(), B<tgammaf>(), B<tgammal>():"
8040 #: build/C/man3/tgamma.3:46
8041 msgid "The Gamma function is defined by"
8045 #: build/C/man3/tgamma.3:48
8047 msgid " Gamma(x) = integral from 0 to infinity of t^(x-1) e^-t dt\n"
8051 #: build/C/man3/tgamma.3:53
8053 "It is defined for every real number except for nonpositive integers. For "
8054 "nonnegative integral I<m> one has"
8058 #: build/C/man3/tgamma.3:55
8060 msgid " Gamma(m+1) = m!\n"
8064 #: build/C/man3/tgamma.3:58
8065 msgid "and, more generally, for all I<x>:"
8069 #: build/C/man3/tgamma.3:60
8071 msgid " Gamma(x+1) = x * Gamma(x)\n"
8075 #: build/C/man3/tgamma.3:64
8077 "Furthermore, the following is valid for all values of I<x> outside the "
8082 #: build/C/man3/tgamma.3:66
8084 msgid " Gamma(x) * Gamma(1 - x) = PI / sin(PI * x)\n"
8088 #: build/C/man3/tgamma.3:69
8089 msgid "On success, these functions return Gamma(x)."
8093 #: build/C/man3/tgamma.3:83
8095 "If I<x> is a negative integer, or is negative infinity, a domain error "
8096 "occurs, and a NaN is returned."
8100 #: build/C/man3/tgamma.3:96
8102 "If the result underflows, a range error occurs, and the functions return 0, "
8103 "with the correct mathematical sign."
8107 #: build/C/man3/tgamma.3:107
8109 "If I<x> is -0 or +0, a pole error occurs, and the functions return "
8110 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the same sign "
8115 #: build/C/man3/tgamma.3:114
8117 msgid "Domain error: I<x> is a negative integer, or negative infinity"
8120 #. FIXME . errno is not set to EDOM for x == -inf
8121 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
8123 #: build/C/man3/tgamma.3:124
8125 "I<errno> is set to B<EDOM>. An invalid floating-point exception "
8126 "(B<FE_INVALID>) is raised (but see BUGS)."
8130 #: build/C/man3/tgamma.3:124
8132 msgid "Pole error: I<x> is +0 or -0"
8136 #: build/C/man3/tgamma.3:143
8138 "glibc also gives the following error which is not specified in C99 or "
8142 #. FIXME . Is it intentional that errno is not set:
8143 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6810
8145 #. glibc (as at 2.8) also supports and an inexact
8146 #. exception for various cases.
8148 #: build/C/man3/tgamma.3:160
8149 msgid "I<errno> is not set for this case."
8153 #: build/C/man3/tgamma.3:171
8155 "This function had to be called \"true gamma function\" since there is "
8156 "already a function B<gamma>(3) that returns something else (see B<gamma>(3) "
8160 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
8162 #: build/C/man3/tgamma.3:179
8164 "If I<x> is negative infinity, I<errno> is not set (it should be set to "
8169 #: build/C/man3/tgamma.3:188
8171 "In glibc versions 2.3.3 and earlier, an argument of +0 or -0 incorrectly "
8172 "produced a domain error (I<errno> set to B<EDOM> and an B<FE_INVALID> "
8173 "exception raised), rather than a pole error."
8177 #: build/C/man3/tgamma.3:191
8178 msgid "B<gamma>(3), B<lgamma>(3)"
8182 #: build/C/man3/trunc.3:25
8188 #: build/C/man3/trunc.3:28
8189 msgid "trunc, truncf, truncl - round to integer, toward zero"
8193 #: build/C/man3/trunc.3:33
8195 msgid "B<double trunc(double >I<x>B<);>\n"
8199 #: build/C/man3/trunc.3:35
8201 msgid "B<float truncf(float >I<x>B<);>\n"
8205 #: build/C/man3/trunc.3:37
8207 msgid "B<long double truncl(long double >I<x>B<);>\n"
8211 #: build/C/man3/trunc.3:50
8212 msgid "B<trunc>(), B<truncf>(), B<truncl>():"
8216 #: build/C/man3/trunc.3:63
8218 "These functions round I<x> to the nearest integer not larger in absolute "
8223 #: build/C/man3/trunc.3:71
8224 msgid "If I<x> is integral, infinite, or NaN, I<x> itself is returned."
8228 #: build/C/man3/trunc.3:83
8229 msgid "The B<trunc>(), B<truncf>(), and B<truncl>() functions are thread-safe."
8233 #: build/C/man3/y0.3:36
8239 #: build/C/man3/y0.3:36
8245 #: build/C/man3/y0.3:40
8247 "y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl - Bessel functions of the second "
8252 #: build/C/man3/y0.3:45
8254 msgid "B<double y0(double >I<x>B<);>\n"
8258 #: build/C/man3/y0.3:47
8260 msgid "B<double y1(double >I<x>B<);>\n"
8264 #: build/C/man3/y0.3:49
8266 msgid "B<double yn(int >I<n>B<, double >I<x>B<);>\n"
8270 #: build/C/man3/y0.3:51
8272 msgid "B<float y0f(float >I<x>B<);>\n"
8276 #: build/C/man3/y0.3:53
8278 msgid "B<float y1f(float >I<x>B<);>\n"
8282 #: build/C/man3/y0.3:55
8284 msgid "B<float ynf(int >I<n>B<, float >I<x>B<);>\n"
8288 #: build/C/man3/y0.3:57
8290 msgid "B<long double y0l(long double >I<x>B<);>\n"
8294 #: build/C/man3/y0.3:59
8296 msgid "B<long double y1l(long double >I<x>B<);>\n"
8300 #: build/C/man3/y0.3:61
8302 msgid "B<long double ynl(int >I<n>B<, long double >I<x>B<);>\n"
8306 #: build/C/man3/y0.3:74
8307 msgid "B<y0>(), B<y1>(), B<yn>():"
8311 #: build/C/man3/y0.3:84
8312 msgid "B<y0f>(), B<y0l>(), B<y1f>(), B<y1l>(), B<ynf>(), B<ynl>():"
8316 #: build/C/man3/y0.3:105
8318 "The B<y0>() and B<y1>() functions return Bessel functions of I<x> of the "
8319 "second kind of orders 0 and 1, respectively. The B<yn>() function returns "
8320 "the Bessel function of I<x> of the second kind of order I<n>."
8324 #: build/C/man3/y0.3:109
8325 msgid "The value of I<x> must be positive."
8329 #: build/C/man3/y0.3:119
8331 "The B<y0f>() etc. and B<y0l>() etc. functions are versions that take and "
8332 "return I<float> and I<long double> values, respectively."
8336 #: build/C/man3/y0.3:123
8338 "On success, these functions return the appropriate Bessel value of the "
8339 "second kind for I<x>."
8343 #: build/C/man3/y0.3:139
8345 "If I<x> is negative, a domain error occurs, and the functions return "
8346 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively. (POSIX.1-2001 "
8347 "also allows a NaN return for this case.)"
8351 #: build/C/man3/y0.3:150
8353 "If I<x> is 0.0, a pole error occurs, and the functions return -B<HUGE_VAL>, "
8354 "-B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
8358 #: build/C/man3/y0.3:154
8359 msgid "If the result underflows, a range error occurs, and the functions return 0.0"
8363 #: build/C/man3/y0.3:164
8365 "If the result overflows, a range error occurs, and the functions return "
8366 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively. (POSIX.1-2001 "
8367 "also allows a 0.0 return for this case.)"
8371 #: build/C/man3/y0.3:179
8373 msgid "Pole error: I<x> is 0.0"
8376 #. Before POSIX.1-2001 TC2, this was (inconsistently) specified
8377 #. as a range error.
8378 #. FIXME . y0(0.0) gives EDOM
8379 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
8381 #: build/C/man3/y0.3:194
8383 "I<errno> is set to B<ERANGE> (but see BUGS). No B<FE_DIVBYZERO> exception "
8384 "is returned by B<fetestexcept>(3) for this case."
8387 #. e.g., y0(1e33) on glibc 2.8/x86-32
8388 #. An underflow floating-point exception
8389 #. .RB ( FE_UNDERFLOW )
8391 #. FIXME . Is it intentional that these functions do not use FE_*?
8392 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6806
8394 #: build/C/man3/y0.3:210
8396 "I<errno> is set to B<ERANGE>. No B<FE_UNDERFLOW> exception is returned by "
8397 "B<fetestexcept>(3) for this case."
8400 #. e.g., yn(10, 1e-40) on glibc 2.8/x86-32
8404 #. FIXME . Is it intentional that errno is not set?
8405 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
8407 #: build/C/man3/y0.3:223
8409 "I<errno> is not set for this case. An overflow floating-point exception "
8410 "(B<FE_OVERFLOW>) is raised."
8414 #. Bug raised: http://sourceware.org/bugzilla/show_bug.cgi?id=6807
8416 #: build/C/man3/y0.3:239
8418 "On a pole error, these functions set I<errno> to B<EDOM>, instead of "
8419 "B<ERANGE> as POSIX.1-2004 requires."
8422 #. FIXME . Actually, 2.3.2 is the earliest test result I have; so yet
8423 #. to confirm if this error occurs only in 2.3.2.
8425 #: build/C/man3/y0.3:246
8427 "In glibc version 2.3.2 and earlier, these functions do not raise an invalid "
8428 "floating-point exception (B<FE_INVALID>) when a domain error occurs."
8432 #: build/C/man3/y0.3:248