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-08-15 19:32+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:156 build/C/man3/fmax.3:58 build/C/man3/fmin.3:58 build/C/man3/fmod.3:146 build/C/man3/fpclassify.3:118 build/C/man3/frexp.3:108 build/C/man3/gamma.3:65 build/C/man3/hypot.3:158 build/C/man3/ilogb.3:146 build/C/man3/infnan.3:87 build/C/man3/isgreater.3:125 build/C/man3/j0.3:150 build/C/man3/ldexp.3:129 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:109 build/C/man3/lround.3:112 build/C/man3/modf.3:103 build/C/man3/nan.3:75 build/C/man3/nextafter.3:173 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:116 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:158 build/C/man3/fmax.3:60 build/C/man3/fmin.3:60 build/C/man3/fmod.3:160 build/C/man3/fpclassify.3:132 build/C/man3/frexp.3:147 build/C/man3/gamma.3:97 build/C/man3/hypot.3:164 build/C/man3/ilogb.3:148 build/C/man3/isgreater.3:132 build/C/man3/j0.3:165 build/C/man3/ldexp.3:135 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:111 build/C/man3/lround.3:114 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:182 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:138 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:161 build/C/man3/fmax.3:62 build/C/man3/fmin.3:62 build/C/man3/fmod.3:162 build/C/man3/fpclassify.3:137 build/C/man3/frexp.3:150 build/C/man3/gamma.3:101 build/C/man3/hypot.3:167 build/C/man3/ilogb.3:152 build/C/man3/infnan.3:92 build/C/man3/isgreater.3:135 build/C/man3/j0.3:167 build/C/man3/ldexp.3:139 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:118 build/C/man3/lround.3:121 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:184 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:144 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:168 build/C/man3/fmax.3:69 build/C/man3/fmin.3:69 build/C/man3/fmod.3:169 build/C/man3/fpclassify.3:144 build/C/man3/frexp.3:157 build/C/man3/gamma.3:108 build/C/man3/hypot.3:174 build/C/man3/ilogb.3:159 build/C/man3/infnan.3:99 build/C/man3/isgreater.3:142 build/C/man3/j0.3:174 build/C/man3/ldexp.3:146 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:125 build/C/man3/lround.3:128 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:191 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:151 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.53 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:98 build/C/man3/pow.3:75 build/C/man3/remainder.3:118 build/C/man3/remquo.3:73 build/C/man3/rint.3:105 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/modf.3:95 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/modf.3:96 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:125 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:118 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/fma.3:12 build/C/man3/fmax.3:9 build/C/man3/fmin.3:9 build/C/man3/fpclassify.3:10 build/C/man3/frexp.3:33 build/C/man3/hypot.3:33 build/C/man3/ilogb.3:29 build/C/man3/j0.3:36 build/C/man3/ldexp.3:34 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/lrint.3:27 build/C/man3/lround.3:27 build/C/man3/nan.3:11 build/C/man3/nextafter.3:11 build/C/man3/remainder.3:37 build/C/man3/remquo.3:12 build/C/man3/rint.3:27 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:143 build/C/man3/pow.3:256 build/C/man3/remainder.3:150 build/C/man3/remquo.3:101 build/C/man3/rint.3:113 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:148 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:150 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:114 build/C/man3/ldexp.3:135 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:177 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:158 build/C/man3/fmax.3:60 build/C/man3/fmin.3:60 build/C/man3/ilogb.3:148 build/C/man3/isgreater.3:127 build/C/man3/log1p.3:145 build/C/man3/logb.3:145 build/C/man3/lrint.3:111 build/C/man3/lround.3:114 build/C/man3/remquo.3:126 build/C/man3/rint.3:118 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:113 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:116 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:133
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:177 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:150 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:114 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:168 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:173 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:121 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:159 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:62
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:15
2966 msgid "fma, fmaf, fmal - floating-point multiply and add"
2970 #: build/C/man3/fma.3:20
2972 msgid "B<double fma(double >I<x>B<, double >I<y>B<, double >I<z>B<);>\n"
2976 #: build/C/man3/fma.3:22
2978 msgid "B<float fmaf(float >I<x>B<, float >I<y>B<, float >I<z>B<);>\n"
2982 #: build/C/man3/fma.3:24
2985 "B<long double fmal(long double >I<x>B<, long double >I<y>B<, long double "
2990 #: build/C/man3/fma.3:37
2991 msgid "B<fma>(), B<fmaf>(), B<fmal>():"
2995 #: build/C/man3/fma.3:53
2997 "The B<fma>() function computes I<x> * I<y> + I<z>. The result is rounded "
2998 "as one ternary operation according to the current rounding mode (see "
3003 #: build/C/man3/fma.3:57
3005 "These functions return the value of I<x> * I<y> + I<z>, rounded as one "
3006 "ternary operation."
3010 #: build/C/man3/fma.3:73
3012 "If I<x> times I<y> is an exact infinity, and I<z> is an infinity with the "
3013 "opposite sign, a domain error occurs, and a NaN is returned."
3016 #. POSIX.1-2008 allows some possible differences for the following two
3017 #. domain error cases, but on Linux they are treated the same (AFAICS).
3018 #. Nevertheless, we'll mirror POSIX.1 and describe the two cases
3020 #. POSIX.1 says that a NaN or an implementation-defined value shall
3021 #. be returned for this case.
3023 #: build/C/man3/fma.3:89
3025 "If one of I<x> or I<y> is an infinity, the other is 0, and I<z> is not a "
3026 "NaN, a domain error occurs, and a NaN is returned."
3029 #. POSIX.1 makes the domain error optional for this case.
3031 #: build/C/man3/fma.3:100
3033 "If one of I<x> or I<y> is an infinity, and the other is 0, and I<z> is a "
3034 "NaN, a domain error occurs, and a NaN is returned."
3038 #: build/C/man3/fma.3:109
3040 "If I<x> times I<y> is not an infinity times zero (or vice versa), and I<z> "
3041 "is a NaN, a NaN is returned."
3045 #: build/C/man3/fma.3:113
3047 "If the result overflows, a range error occurs, and an infinity with the "
3048 "correct sign is returned."
3052 #: build/C/man3/fma.3:117
3053 msgid "If the result underflows, a range error occurs, and a signed 0 is returned."
3057 #: build/C/man3/fma.3:124
3060 "Domain error: I<x> * I<y> + I<z>, or I<x> * I<y> is invalid and I<z> is not "
3068 #: 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
3069 msgid "An invalid floating-point exception (B<FE_INVALID>) is raised."
3073 #: build/C/man3/fma.3:141 build/C/man3/hypot.3:143 build/C/man3/tgamma.3:143 build/C/man3/y0.3:194
3075 msgid "Range error: result underflow"
3079 #: build/C/man3/fma.3:161
3080 msgid "B<remainder>(3), B<remquo>(3)"
3084 #: build/C/man3/fmax.3:9
3090 #: build/C/man3/fmax.3:12
3091 msgid "fmax, fmaxf, fmaxl - determine maximum of two floating-point numbers"
3095 #: build/C/man3/fmax.3:16
3096 msgid "B<double fmax(double >I<x>B<, double >I<y>B<);>"
3100 #: build/C/man3/fmax.3:18
3101 msgid "B<float fmaxf(float >I<x>B<, float >I<y>B<);>"
3105 #: build/C/man3/fmax.3:20
3106 msgid "B<long double fmaxl(long double >I<x>B<, long double >I<y>B<);>"
3110 #: build/C/man3/fmax.3:32
3111 msgid "B<fmax>(), B<fmaxf>(), B<fmaxl>():"
3115 #: build/C/man3/fmax.3:45
3116 msgid "These functions return the larger value of I<x> and I<y>."
3120 #: build/C/man3/fmax.3:50
3121 msgid "These functions return the maximum of I<x> and I<y>."
3125 #: build/C/man3/fmax.3:52 build/C/man3/fmin.3:52
3126 msgid "If one argument is a NaN, the other argument is returned."
3130 #: build/C/man3/fmax.3:54 build/C/man3/fmin.3:54
3131 msgid "If both arguments are NaN, a NaN is returned."
3135 #: build/C/man3/fmax.3:62
3140 #: build/C/man3/fmin.3:9
3146 #: build/C/man3/fmin.3:12
3147 msgid "fmin, fminf, fminl - determine minimum of two floating-point numbers"
3151 #: build/C/man3/fmin.3:16
3152 msgid "B<double fmin(double >I<x>B<, double >I<y>B<);>"
3156 #: build/C/man3/fmin.3:18
3157 msgid "B<float fminf(float >I<x>B<, float >I<y>B<);>"
3161 #: build/C/man3/fmin.3:20
3162 msgid "B<long double fminl(long double >I<x>B<, long double >I<y>B<);>"
3166 #: build/C/man3/fmin.3:32
3167 msgid "B<fmin>(), B<fminf>(), B<fminl>():"
3171 #: build/C/man3/fmin.3:45
3172 msgid "These functions the lesser value of I<x> and I<y>."
3176 #: build/C/man3/fmin.3:50
3177 msgid "These functions return the minimum of I<x> and I<y>."
3181 #: build/C/man3/fmod.3:35
3187 #: build/C/man3/fmod.3:35
3193 #: build/C/man3/fmod.3:38
3194 msgid "fmod, fmodf, fmodl - floating-point remainder function"
3198 #: build/C/man3/fmod.3:43
3200 msgid "B<double fmod(double >I<x>B<, double >I<y>B<);>\n"
3204 #: build/C/man3/fmod.3:45
3206 msgid "B<float fmodf(float >I<x>B<, float >I<y>B<);>\n"
3210 #: build/C/man3/fmod.3:47
3212 msgid "B<long double fmodl(long double >I<x>B<, long double >I<y>B<);>\n"
3216 #: build/C/man3/fmod.3:59
3217 msgid "B<fmodf>(), B<fmodl>():"
3221 #: build/C/man3/fmod.3:87
3223 "The B<fmod>() function computes the floating-point remainder of dividing "
3224 "I<x> by I<y>. The return value is I<x> - I<n> * I<y>, where I<n> is the "
3225 "quotient of I<x> / I<y>, rounded toward zero to an integer."
3229 #: build/C/man3/fmod.3:96
3231 "On success, these functions return the value I<x>\\ -\\ I<n>*I<y>, for some "
3232 "integer I<n>, such that the returned value has the same sign as I<x> and a "
3233 "magnitude less than the magnitude of I<y>."
3237 #: build/C/man3/fmod.3:108
3238 msgid "If I<x> is an infinity, a domain error occurs, and a NaN is returned."
3242 #: build/C/man3/fmod.3:114
3243 msgid "If I<y> is zero, a domain error occurs, and a NaN is returned."
3247 #: build/C/man3/fmod.3:120
3248 msgid "If I<x> is +0 (-0), and I<y> is not zero, +0 (-0) is returned."
3251 #. [XXX see bug above] and \fIx\fP is not a NaN
3253 #: build/C/man3/fmod.3:136 build/C/man3/remainder.3:172
3255 msgid "Domain error: I<y> is zero"
3258 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6784
3260 #: build/C/man3/fmod.3:160
3262 "Before version 2.10, the glibc implementation did not set I<errno> to "
3263 "B<EDOM> when a domain error occurred for an infinite I<x>."
3267 #: build/C/man3/fmod.3:162
3268 msgid "B<remainder>(3)"
3272 #: build/C/man3/fpclassify.3:10
3278 #: build/C/man3/fpclassify.3:14
3280 "fpclassify, isfinite, isnormal, isnan, isinf - floating-point classification "
3285 #: build/C/man3/fpclassify.3:19
3287 msgid "B<int fpclassify(>I<x>B<);>\n"
3291 #: build/C/man3/fpclassify.3:21
3293 msgid "B<int isfinite(>I<x>B<);>\n"
3297 #: build/C/man3/fpclassify.3:23
3299 msgid "B<int isnormal(>I<x>B<);>\n"
3303 #: build/C/man3/fpclassify.3:25
3305 msgid "B<int isnan(>I<x>B<);>\n"
3309 #: build/C/man3/fpclassify.3:27
3311 msgid "B<int isinf(>I<x>B<);>\n"
3315 #: build/C/man3/fpclassify.3:42
3316 msgid "B<fpclassify>(), B<isfinite>(), B<isnormal>():"
3320 #: build/C/man3/fpclassify.3:76
3322 "Floating point numbers can have special values, such as infinite or NaN. "
3323 "With the macro B<fpclassify(>I<x>B<)> you can find out what type I<x> is. "
3324 "The macro takes any floating-point expression as argument. The result is "
3325 "one of the following values:"
3329 #: build/C/man3/fpclassify.3:76
3335 #: build/C/man3/fpclassify.3:80
3336 msgid "I<x> is \"Not a Number\"."
3340 #: build/C/man3/fpclassify.3:80
3342 msgid "B<FP_INFINITE>"
3346 #: build/C/man3/fpclassify.3:84
3347 msgid "I<x> is either positive infinity or negative infinity."
3351 #: build/C/man3/fpclassify.3:84
3357 #: build/C/man3/fpclassify.3:88
3358 msgid "I<x> is zero."
3362 #: build/C/man3/fpclassify.3:88
3364 msgid "B<FP_SUBNORMAL>"
3368 #: build/C/man3/fpclassify.3:92
3369 msgid "I<x> is too small to be represented in normalized format."
3373 #: build/C/man3/fpclassify.3:92
3375 msgid "B<FP_NORMAL>"
3379 #: build/C/man3/fpclassify.3:96
3381 "if nothing of the above is correct then it must be a normal floating-point "
3386 #: build/C/man3/fpclassify.3:98
3387 msgid "The other macros provide a short answer to some standard questions."
3391 #: build/C/man3/fpclassify.3:98
3393 msgid "B<isfinite(>I<x>B<)>"
3397 #: build/C/man3/fpclassify.3:101
3398 msgid "returns a nonzero value if"
3402 #: build/C/man3/fpclassify.3:103
3403 msgid "(fpclassify(x) != FP_NAN && fpclassify(x) != FP_INFINITE)"
3407 #: build/C/man3/fpclassify.3:103
3409 msgid "B<isnormal(>I<x>B<)>"
3413 #: build/C/man3/fpclassify.3:107
3414 msgid "returns a nonzero value if (fpclassify(x) == FP_NORMAL)"
3418 #: build/C/man3/fpclassify.3:107
3420 msgid "B<isnan(>I<x>B<)>"
3424 #: build/C/man3/fpclassify.3:111
3425 msgid "returns a nonzero value if (fpclassify(x) == FP_NAN)"
3429 #: build/C/man3/fpclassify.3:111
3431 msgid "B<isinf(>I<x>B<)>"
3435 #: build/C/man3/fpclassify.3:118
3436 msgid "returns 1 if I<x> is positive infinity, and -1 if I<x> is negative infinity."
3440 #: build/C/man3/fpclassify.3:120
3441 msgid "C99, POSIX.1."
3445 #: build/C/man3/fpclassify.3:125
3447 "For B<isinf>(), the standards merely say that the return value is nonzero if "
3448 "and only if the argument has an infinite value."
3452 #: build/C/man3/fpclassify.3:132
3454 "In glibc 2.01 and earlier, B<isinf>() returns a nonzero value (actually: 1) "
3455 "if I<x> is positive infinity or negative infinity. (This is all that C99 "
3460 #: build/C/man3/fpclassify.3:137
3461 msgid "B<finite>(3), B<INFINITY>(3), B<isgreater>(3), B<signbit>(3)"
3465 #: build/C/man3/frexp.3:33
3471 #: build/C/man3/frexp.3:37
3473 "frexp, frexpf, frexpl - convert floating-point number to fractional and "
3474 "integral components"
3478 #: build/C/man3/frexp.3:42
3480 msgid "B<double frexp(double >I<x>B<, int *>I<exp>B<);>\n"
3484 #: build/C/man3/frexp.3:44
3486 msgid "B<float frexpf(float >I<x>B<, int *>I<exp>B<);>\n"
3490 #: build/C/man3/frexp.3:46
3492 msgid "B<long double frexpl(long double >I<x>B<, int *>I<exp>B<);>\n"
3496 #: build/C/man3/frexp.3:58
3497 msgid "B<frexpf>(), B<frexpl>():"
3501 #: build/C/man3/frexp.3:74
3503 "The B<frexp>() function is used to split the number I<x> into a normalized "
3504 "fraction and an exponent which is stored in I<exp>."
3508 #: build/C/man3/frexp.3:86
3510 "The B<frexp>() function returns the normalized fraction. If the argument "
3511 "I<x> is not zero, the normalized fraction is I<x> times a power of two, and "
3512 "its absolute value is always in the range 1/2 (inclusive) to 1 (exclusive), "
3517 #: build/C/man3/frexp.3:92
3519 "If I<x> is zero, then the normalized fraction is zero and zero is stored in "
3524 #: build/C/man3/frexp.3:99
3526 "If I<x> is a NaN, a NaN is returned, and the value of I<*exp> is "
3531 #: build/C/man3/frexp.3:106
3533 "If I<x> is positive infinity (negative infinity), positive infinity "
3534 "(negative infinity) is returned, and the value of I<*exp> is unspecified."
3538 #: build/C/man3/frexp.3:116
3539 msgid "The program below produces results such as the following:"
3543 #: build/C/man3/frexp.3:123
3546 "$B< ./a.out 2560>\n"
3547 "frexp(2560, &e) = 0.625: 0.625 * 2^12 = 2560\n"
3549 "frexp(-4, &e) = -0.5: -0.5 * 2^3 = -4\n"
3553 #: build/C/man3/frexp.3:125 build/C/man3/matherr.3:360
3555 msgid "Program source"
3559 #: build/C/man3/frexp.3:132
3562 "#include E<lt>math.hE<gt>\n"
3563 "#include E<lt>float.hE<gt>\n"
3564 "#include E<lt>stdio.hE<gt>\n"
3565 "#include E<lt>stdlib.hE<gt>\n"
3569 #: build/C/man3/frexp.3:138
3573 "main(int argc, char *argv[])\n"
3580 #: build/C/man3/frexp.3:141
3583 " x = strtod(argv[1], NULL);\n"
3584 " r = frexp(x, &exp);\n"
3588 #: build/C/man3/frexp.3:146
3591 " printf(\"frexp(%g, &e) = %g: %g * %d^%d = %g\\en\",\n"
3592 " x, r, r, FLT_RADIX, exp, x);\n"
3593 " exit(EXIT_SUCCESS);\n"
3598 #: build/C/man3/frexp.3:150
3599 msgid "B<ldexp>(3), B<modf>(3)"
3603 #: build/C/man3/gamma.3:9
3609 #: build/C/man3/gamma.3:9
3615 #: build/C/man3/gamma.3:12
3616 msgid "gamma, gammaf, gammal - (logarithm of the) gamma function"
3620 #: build/C/man3/gamma.3:16
3621 msgid "B<double gamma(double >I<x>B<);>"
3625 #: build/C/man3/gamma.3:18
3626 msgid "B<float gammaf(float >I<x>B<);>"
3630 #: build/C/man3/gamma.3:20
3631 msgid "B<long double gammal(long double >I<x>B<);>"
3635 #: build/C/man3/gamma.3:30
3640 #: build/C/man3/gamma.3:32 build/C/man3/lgamma.3:69
3641 msgid "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE"
3645 #: build/C/man3/gamma.3:35
3646 msgid "B<gammaf>(), B<gammal>():"
3650 #: build/C/man3/gamma.3:46
3652 "These functions are deprecated: instead, use either the B<tgamma>(3) or the "
3653 "B<lgamma>(3) functions, as appropriate."
3657 #: build/C/man3/gamma.3:49 build/C/man3/lgamma.3:74
3658 msgid "For the definition of the Gamma function, see B<tgamma>(3)."
3662 #: build/C/man3/gamma.3:49
3664 msgid "*BSD version"
3668 #: build/C/man3/gamma.3:53
3670 "The libm in 4.4BSD and some versions of FreeBSD had a B<gamma>() function "
3671 "that computes the Gamma function, as one would expect."
3675 #: build/C/man3/gamma.3:53
3677 msgid "glibc version"
3681 #: build/C/man3/gamma.3:59
3683 "Glibc has a B<gamma>() function that is equivalent to B<lgamma>(3) and "
3684 "computes the natural logarithm of the Gamma function."
3688 #: build/C/man3/gamma.3:62 build/C/man3/gamma.3:65
3689 msgid "See B<lgamma>(3)."
3693 #: build/C/man3/gamma.3:68
3695 "Because of historical variations in behavior across systems, this function "
3696 "is not specified in any standard."
3700 #: build/C/man3/gamma.3:69
3706 #: build/C/man3/gamma.3:81
3708 "4.2BSD had a B<gamma>() that computed ln(|Gamma(|I<x>|)|), leaving the sign "
3709 "of Gamma(|I<x>|) in the external integer I<signgam>. In 4.3BSD the name "
3710 "was changed to B<lgamma>(3), and the man page promises"
3714 #: build/C/man3/gamma.3:85
3716 "At some time in the future the name gamma will be rehabilitated and used for "
3717 "the Gamma function"
3720 #. The FreeBSD man page says about gamma() that it is like lgamma()
3721 #. except that is does not set signgam.
3722 #. Also, that 4.4BSD has a gamma() that computes the true gamma function.
3724 #: build/C/man3/gamma.3:97
3726 "This did indeed happen in 4.4BSD, where B<gamma>() computes the Gamma "
3727 "function (with no effect on I<signgam>). However, this came too late, and "
3728 "we now have B<tgamma>(3), the \"true gamma\" function."
3732 #: build/C/man3/gamma.3:101
3733 msgid "B<lgamma>(3), B<signgam>(3), B<tgamma>(3)"
3737 #: build/C/man3/hypot.3:33
3743 #: build/C/man3/hypot.3:36
3744 msgid "hypot, hypotf, hypotl - Euclidean distance function"
3748 #: build/C/man3/hypot.3:41
3750 msgid "B<double hypot(double >I<x>B<, double >I<y>B<);>\n"
3754 #: build/C/man3/hypot.3:43
3756 msgid "B<float hypotf(float >I<x>B<, float >I<y>B<);>\n"
3760 #: build/C/man3/hypot.3:45
3762 msgid "B<long double hypotl(long double >I<x>B<, long double >I<y>B<);>\n"
3766 #: build/C/man3/hypot.3:56
3771 #: build/C/man3/hypot.3:66
3772 msgid "B<hypotf>(), B<hypotl>():"
3776 #: build/C/man3/hypot.3:87
3778 "The B<hypot>() function returns sqrt(I<x>*I<x>+I<y>*I<y>). This is the "
3779 "length of the hypotenuse of a right-angled triangle with sides of length "
3780 "I<x> and I<y>, or the distance of the point (I<x>,I<y>) from the origin."
3783 #. e.g., hypot(DBL_MIN, DBL_MIN) does the right thing, as does, say
3784 #. hypot(DBL_MAX/2.0, DBL_MAX/2.0).
3786 #: build/C/man3/hypot.3:92
3788 "The calculation is performed without undue overflow or underflow during the "
3789 "intermediate steps of the calculation."
3793 #: build/C/man3/hypot.3:98
3795 "On success, these functions return the length of a right-angled triangle "
3796 "with sides of length I<x> and I<y>."
3800 #: build/C/man3/hypot.3:105
3801 msgid "If I<x> or I<y> is an infinity, positive infinity is returned."
3805 #: build/C/man3/hypot.3:113
3807 "If I<x> or I<y> is a NaN, and the other argument is not an infinity, a NaN "
3811 #. Actually, could the result not be subnormal if both arguments
3812 #. are subnormal? I think not -- mtk, Jul 2008
3814 #: build/C/man3/hypot.3:128
3816 "If both arguments are subnormal, and the result is subnormal, a range error "
3817 "occurs, and the correct result is returned."
3820 #. FIXME . Is it intentional that these functions do not set errno?
3821 #. They do set errno for the y == 0 case, below.
3822 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6783
3824 #: build/C/man3/hypot.3:158 build/C/man3/ilogb.3:130 build/C/man3/remainder.3:172
3825 msgid "These functions do not set I<errno> for this case."
3829 #: build/C/man3/hypot.3:167
3830 msgid "B<cabs>(3), B<sqrt>(3)"
3834 #: build/C/man3/ilogb.3:29
3840 #: build/C/man3/ilogb.3:32
3841 msgid "ilogb, ilogbf, ilogbl - get integer exponent of a floating-point value"
3845 #: build/C/man3/ilogb.3:36
3846 msgid "B<int ilogb(double >I<x>B<);>"
3850 #: build/C/man3/ilogb.3:38
3851 msgid "B<int ilogbf(float >I<x>B<);>"
3855 #: build/C/man3/ilogb.3:40
3856 msgid "B<int ilogbl(long double >I<x>B<);>"
3860 #: build/C/man3/ilogb.3:50
3865 #: build/C/man3/ilogb.3:62
3866 msgid "B<ilogbf>(), B<ilogbl>():"
3870 #: build/C/man3/ilogb.3:78
3872 "These functions return the exponent part of their argument as a signed "
3873 "integer. When no error occurs, these functions are equivalent to the "
3874 "corresponding B<logb>(3) functions, cast to I<int>."
3878 #: build/C/man3/ilogb.3:82
3880 "On success, these functions return the exponent of I<x>, as a signed "
3884 #. the POSIX.1 spec for logb() says logb() gives pole error for this
3885 #. case, but for ilogb() it says domain error.
3886 #. glibc: The numeric value is either `INT_MIN' or `-INT_MAX'.
3888 #: build/C/man3/ilogb.3:90
3890 "If I<x> is zero, then a domain error occurs, and the functions return "
3894 #. glibc: The numeric value is either `INT_MIN' or `INT_MAX'.
3895 #. On i386, FP_ILOGB0 and FP_ILOGBNAN have the same value.
3897 #: build/C/man3/ilogb.3:97
3899 "If I<x> is a NaN, then a domain error occurs, and the functions return "
3904 #. POSIX.1-2001 also says:
3905 #. If the correct value is greater than {INT_MAX}, {INT_MAX}
3906 #. shall be returned and a domain error shall occur.
3908 #. If the correct value is less than {INT_MIN}, {INT_MIN}
3909 #. shall be returned and a domain error shall occur.
3911 #: build/C/man3/ilogb.3:110
3913 "If I<x> is negative infinity or positive infinity, then a domain error "
3914 "occurs, and the functions return B<INT_MAX>."
3918 #: build/C/man3/ilogb.3:117
3920 msgid "Domain error: I<x> is 0 or a NaN"
3923 #. FIXME . Is it intentional that these functions do not set errno,
3924 #. or raise an exception?
3925 #. log(), log2(), log10() do set errno
3926 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6794
3928 #: build/C/man3/ilogb.3:146
3929 msgid "These functions do not set I<errno> or raise an exception for this case."
3933 #: build/C/man3/ilogb.3:152
3934 msgid "B<log>(3), B<logb>(3), B<significand>(3)"
3938 #: build/C/man3/infnan.3:33
3944 #: build/C/man3/infnan.3:33
3950 #: build/C/man3/infnan.3:36
3951 msgid "infnan - deal with infinite or not-a-number (NaN) result"
3955 #: build/C/man3/infnan.3:41
3957 msgid "B<double infnan(int >I<error>B<);>\n"
3961 #: build/C/man3/infnan.3:56
3963 "The B<infnan>() function returns a suitable value for infinity and "
3964 "\"not-a-number\" (NaN) results. The value of I<error> can be B<ERANGE> to "
3965 "represent infinity or anything else to represent NaN. I<errno> is also set."
3969 #: build/C/man3/infnan.3:64
3970 msgid "If I<error> is B<ERANGE> (Infinity), B<HUGE_VAL> is returned."
3974 #: build/C/man3/infnan.3:72
3975 msgid "If I<error> is -B<ERANGE> (-Infinity), -B<HUGE_VAL> is returned."
3979 #: build/C/man3/infnan.3:76
3980 msgid "If I<error> is anything else, NAN is returned."
3984 #: build/C/man3/infnan.3:77
3990 #: build/C/man3/infnan.3:82
3991 msgid "The value of I<error> is \"not-a-number\" (NaN)."
3995 #: build/C/man3/infnan.3:82
4001 #: build/C/man3/infnan.3:87
4002 msgid "The value of I<error> is positive infinity or negative infinity."
4006 #: build/C/man3/infnan.3:89
4011 #: build/C/man3/infnan.3:92
4013 "This obsolete function was provided in libc4 and libc5, but is not available "
4018 #: build/C/man3/isgreater.3:10
4024 #: build/C/man3/isgreater.3:10
4030 #: build/C/man3/isgreater.3:14
4032 "isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered - "
4033 "floating-point relational tests without exception for NaN"
4037 #: build/C/man3/isgreater.3:19
4039 msgid "B<int isgreater(>I<x>B<, >I<y>B<);>\n"
4043 #: build/C/man3/isgreater.3:21
4045 msgid "B<int isgreaterequal(>I<x>B<, >I<y>B<);>\n"
4049 #: build/C/man3/isgreater.3:23
4051 msgid "B<int isless(>I<x>B<, >I<y>B<);>\n"
4055 #: build/C/man3/isgreater.3:25
4057 msgid "B<int islessequal(>I<x>B<, >I<y>B<);>\n"
4061 #: build/C/man3/isgreater.3:27
4063 msgid "B<int islessgreater(>I<x>B<, >I<y>B<);>\n"
4067 #: build/C/man3/isgreater.3:29
4069 msgid "B<int isunordered(>I<x>B<, >I<y>B<);>\n"
4073 #: build/C/man3/isgreater.3:40
4074 msgid "All functions described here:"
4078 #: build/C/man3/isgreater.3:55
4080 "The normal relation operations (like B<E<lt>>, \"less than\") will fail if "
4081 "one of the operands is NaN. This will cause an exception. To avoid this, "
4082 "C99 defines the macros listed below."
4086 #: build/C/man3/isgreater.3:61
4088 "These macros are guaranteed to evaluate their arguments only once. The "
4089 "arguments must be of real floating-point type (note: do not pass integer "
4090 "values as arguments to these macros, since the arguments will I<not> be "
4091 "promoted to real-floating types)."
4095 #: build/C/man3/isgreater.3:61
4097 msgid "B<isgreater>()"
4101 #: build/C/man3/isgreater.3:69
4102 msgid "determines I<(x)\\ E<gt>\\ (y)> without an exception if I<x> or I<y> is NaN."
4106 #: build/C/man3/isgreater.3:69
4108 msgid "B<isgreaterequal>()"
4112 #: build/C/man3/isgreater.3:77
4114 "determines I<(x)\\ E<gt>=\\ (y)> without an exception if I<x> or I<y> is "
4119 #: build/C/man3/isgreater.3:77
4125 #: build/C/man3/isgreater.3:85
4126 msgid "determines I<(x)\\ E<lt>\\ (y)> without an exception if I<x> or I<y> is NaN."
4130 #: build/C/man3/isgreater.3:85
4132 msgid "B<islessequal>()"
4136 #: build/C/man3/isgreater.3:93
4138 "determines I<(x)\\ E<lt>=\\ (y)> without an exception if I<x> or I<y> is "
4143 #: build/C/man3/isgreater.3:93
4145 msgid "B<islessgreater>()"
4149 #: build/C/man3/isgreater.3:107
4151 "determines I<(x)\\ E<lt> (y) || (x) E<gt>\\ (y)> without an exception if "
4152 "I<x> or I<y> is NaN. This macro is not equivalent to I<x\\ !=\\ y> because "
4153 "that expression is true if I<x> or I<y> is NaN."
4157 #: build/C/man3/isgreater.3:107
4159 msgid "B<isunordered>()"
4163 #: build/C/man3/isgreater.3:111
4165 "determines whether its arguments are unordered, that is, whether at least "
4166 "one of the arguments is a NaN."
4170 #: build/C/man3/isgreater.3:116
4172 "The macros other than B<isunordered>() return the result of the relational "
4173 "comparison; these macros return 0 if either argument is a NaN."
4177 #: build/C/man3/isgreater.3:123
4178 msgid "B<isunordered>() returns 1 if I<x> or I<y> is NaN and 0 otherwise."
4182 #: build/C/man3/isgreater.3:132
4184 "Not all hardware supports these functions, and where hardware support isn't "
4185 "provided, they will be emulated by macros. This will result in a "
4186 "performance penalty. Don't use these functions if NaN is of no concern for "
4191 #: build/C/man3/isgreater.3:135
4192 msgid "B<fpclassify>(3), B<isnan>(3)"
4196 #: build/C/man3/j0.3:36
4202 #: build/C/man3/j0.3:40
4204 "j0, j0f, j0l, j1, j1f, j1l, jn, jnf, jnl - Bessel functions of the first "
4209 #: build/C/man3/j0.3:46
4210 msgid "B<double j0(double >I<x>B<);>"
4214 #: build/C/man3/j0.3:48
4215 msgid "B<double j1(double >I<x>B<);>"
4219 #: build/C/man3/j0.3:50
4220 msgid "B<double jn(int >I<n>B<, double >I<x>B<);>"
4224 #: build/C/man3/j0.3:52
4225 msgid "B<float j0f(float >I<x>B<);>"
4229 #: build/C/man3/j0.3:54
4230 msgid "B<float j1f(float >I<x>B<);>"
4234 #: build/C/man3/j0.3:56
4235 msgid "B<float jnf(int >I<n>B<, float >I<x>B<);>"
4239 #: build/C/man3/j0.3:58
4240 msgid "B<long double j0l(long double >I<x>B<);>"
4244 #: build/C/man3/j0.3:60
4245 msgid "B<long double j1l(long double >I<x>B<);>"
4249 #: build/C/man3/j0.3:62
4250 msgid "B<long double jnl(int >I<n>B<, long double >I<x>B<);>"
4254 #: build/C/man3/j0.3:74
4255 msgid "B<j0>(), B<j1>(), B<jn>():"
4259 #: build/C/man3/j0.3:76 build/C/man3/y0.3:76
4260 msgid "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE"
4264 #: build/C/man3/j0.3:84
4265 msgid "B<j0f>(), B<j0l>(), B<j1f>(), B<j1l>(), B<jnf>(), B<jnl>():"
4268 #. Also seems to work: -std=c99 -D_XOPEN_SOURCE
4270 #: build/C/man3/j0.3:87 build/C/man3/y0.3:87
4271 msgid "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 600"
4275 #: build/C/man3/j0.3:104
4277 "The B<j0>() and B<j1>() functions return Bessel functions of I<x> of the "
4278 "first kind of orders 0 and 1, respectively. The B<jn>() function returns "
4279 "the Bessel function of I<x> of the first kind of order I<n>."
4283 #: build/C/man3/j0.3:114
4285 "The B<j0f>() etc. and B<j0l>() etc. functions are versions that take and "
4286 "return I<float> and I<long double> values, respectively."
4290 #: build/C/man3/j0.3:118
4292 "On success, these functions return the appropriate Bessel value of the first "
4297 #: build/C/man3/j0.3:129
4299 "If I<x> is too large in magnitude, or the result underflows, a range error "
4300 "occurs, and the return value is 0."
4304 #: build/C/man3/j0.3:136
4306 msgid "Range error: result underflow, or I<x> is too large in magnitude"
4309 #. An underflow floating-point exception
4310 #. .RB ( FE_UNDERFLOW )
4313 #: build/C/man3/j0.3:144
4314 msgid "I<errno> is set to B<ERANGE>."
4317 #. FIXME . Is it intentional that these functions do not raise exceptions?
4319 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6805
4321 #: build/C/man3/j0.3:150
4322 msgid "These functions do not raise exceptions for B<fetestexcept>(3)."
4326 #: build/C/man3/j0.3:156 build/C/man3/y0.3:229
4328 "The functions returning I<double> conform to SVr4, 4.3BSD, POSIX.1-2001. "
4329 "The others are nonstandard functions that also exist on the BSDs."
4333 #: build/C/man3/j0.3:165
4335 "There are errors of up to 2e-16 in the values returned by B<j0>(), B<j1>() "
4336 "and B<jn>() for values of I<x> between -8 and 8."
4340 #: build/C/man3/j0.3:167
4345 #: build/C/man3/ldexp.3:34
4351 #: build/C/man3/ldexp.3:37
4353 "ldexp, ldexpf, ldexpl - multiply floating-point number by integral power of "
4358 #: build/C/man3/ldexp.3:42
4360 msgid "B<double ldexp(double >I<x>B<, int >I<exp>B<);>\n"
4364 #: build/C/man3/ldexp.3:44
4366 msgid "B<float ldexpf(float >I<x>B<, int >I<exp>B<);>\n"
4370 #: build/C/man3/ldexp.3:46
4372 msgid "B<long double ldexpl(long double >I<x>B<, int >I<exp>B<);>\n"
4376 #: build/C/man3/ldexp.3:58
4377 msgid "B<ldexpf>(), B<ldexpl>():"
4381 #: build/C/man3/ldexp.3:73
4383 "The B<ldexp>() function returns the result of multiplying the "
4384 "floating-point number I<x> by 2 raised to the power I<exp>."
4388 #: build/C/man3/ldexp.3:76
4389 msgid "On success, these functions return I<x * (2^exp)>."
4393 #: build/C/man3/ldexp.3:82
4394 msgid "If I<exp> is zero, then I<x> is returned."
4398 #: build/C/man3/ldexp.3:106 build/C/man3/scalb.3:133 build/C/man3/scalbln.3:125
4400 "If the result overflows, a range error occurs, and the functions return "
4401 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with a sign the "
4406 #: build/C/man3/ldexp.3:139
4407 msgid "B<frexp>(3), B<modf>(3), B<scalbln>(3)"
4411 #: build/C/man3/lgamma.3:11
4417 #: build/C/man3/lgamma.3:15
4419 "lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam - log "
4424 #: build/C/man3/lgamma.3:20
4426 msgid "B<double lgamma(double >I<x>B<);>\n"
4430 #: build/C/man3/lgamma.3:22
4432 msgid "B<float lgammaf(float >I<x>B<);>\n"
4436 #: build/C/man3/lgamma.3:24
4438 msgid "B<long double lgammal(long double >I<x>B<);>\n"
4442 #: build/C/man3/lgamma.3:26
4444 msgid "B<double lgamma_r(double >I<x>B<, int *>I<signp>B<);>\n"
4448 #: build/C/man3/lgamma.3:28
4450 msgid "B<float lgammaf_r(float >I<x>B<, int *>I<signp>B<);>\n"
4454 #: build/C/man3/lgamma.3:30
4456 msgid "B<long double lgammal_r(long double >I<x>B<, int *>I<signp>B<);>\n"
4460 #: build/C/man3/lgamma.3:32
4462 msgid "B<extern int >I<signgam>B<;>\n"
4466 #: build/C/man3/lgamma.3:43
4467 msgid "B<lgamma>():"
4471 #: build/C/man3/lgamma.3:53
4472 msgid "B<lgammaf>(), B<lgammal>():"
4476 #: build/C/man3/lgamma.3:63
4477 msgid "B<lgamma_r>(), B<lgammaf_r>(), B<lgammal_r>():"
4481 #: build/C/man3/lgamma.3:67
4486 #: build/C/man3/lgamma.3:86
4488 "The B<lgamma>() function returns the natural logarithm of the absolute "
4489 "value of the Gamma function. The sign of the Gamma function is returned in "
4490 "the external integer I<signgam> declared in I<E<lt>math.hE<gt>>. It is 1 "
4491 "when the Gamma function is positive or zero, -1 when it is negative."
4495 #: build/C/man3/lgamma.3:94
4497 "Since using a constant location I<signgam> is not thread-safe, the functions "
4498 "B<lgamma_r>() etc. have been introduced; they return the sign via the "
4499 "argument I<signp>."
4503 #: build/C/man3/lgamma.3:96
4504 msgid "On success, these functions return the natural logarithm of Gamma(x)."
4508 #: build/C/man3/lgamma.3:104
4509 msgid "If I<x> is 1 or 2, +0 is returned."
4513 #: build/C/man3/lgamma.3:120
4515 "If I<x> is a nonpositive integer, a pole error occurs, and the functions "
4516 "return +B<HUGE_VAL>, +B<HUGE_VALF>, or +B<HUGE_VALL>, respectively."
4520 #: build/C/man3/lgamma.3:130 build/C/man3/tgamma.3:92
4522 "If the result overflows, a range error occurs, and the functions return "
4523 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the correct "
4524 "mathematical sign."
4528 #: build/C/man3/lgamma.3:137
4530 msgid "Pole error: I<x> is a nonpositive integer"
4534 #: build/C/man3/lgamma.3:165
4536 "The B<lgamma>() functions are specified in C99 and POSIX.1-2001. "
4537 "I<signgam> is specified in POSIX.1-2001, but not in C99. The B<lgamma_r>() "
4538 "functions are nonstandard, but present on several other systems."
4541 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6777
4543 #: build/C/man3/lgamma.3:175
4545 "In glibc 2.9 and earlier, when a pole error occurs, I<errno> is set to "
4546 "B<EDOM>; instead of the POSIX-mandated B<ERANGE>. Since version 2.10, glibc "
4547 "does the right thing."
4551 #: build/C/man3/lgamma.3:177
4552 msgid "B<tgamma>(3)"
4556 #: build/C/man3/log.3:36
4562 #: build/C/man3/log.3:39
4563 msgid "log, logf, logl - natural logarithmic function"
4567 #: build/C/man3/log.3:44
4569 msgid "B<double log(double >I<x>B<);>\n"
4573 #: build/C/man3/log.3:46
4575 msgid "B<float logf(float >I<x>B<);>\n"
4579 #: build/C/man3/log.3:48
4581 msgid "B<long double logl(long double >I<x>B<);>\n"
4585 #: build/C/man3/log.3:60
4586 msgid "B<logf>(), B<logl>():"
4590 #: build/C/man3/log.3:73
4591 msgid "The B<log>() function returns the natural logarithm of I<x>."
4595 #: build/C/man3/log.3:76
4596 msgid "On success, these functions return the natural logarithm of I<x>."
4600 #: build/C/man3/log.3:85
4601 msgid "If I<x> is 1, the result is +0."
4605 #: build/C/man3/log.3:100 build/C/man3/logb.3:111
4607 "If I<x> is zero, then a pole error occurs, and the functions return "
4608 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
4612 #: build/C/man3/log.3:105
4614 "If I<x> is negative (including negative infinity), then a domain error "
4615 "occurs, and a NaN (not a number) is returned."
4619 #: build/C/man3/log.3:112 build/C/man3/y0.3:171
4621 msgid "Domain error: I<x> is negative"
4625 #: build/C/man3/log.3:120
4627 msgid "Pole error: I<x> is zero"
4631 #: build/C/man3/log.3:128 build/C/man3/tgamma.3:132
4633 "I<errno> is set to B<ERANGE>. A divide-by-zero floating-point exception "
4634 "(B<FE_DIVBYZERO>) is raised."
4638 #: build/C/man3/log.3:141
4640 "In glibc 2.5 and earlier, taking the B<log>() of a NaN produces a bogus "
4641 "invalid floating-point (B<FE_INVALID>) exception."
4645 #: build/C/man3/log.3:148
4646 msgid "B<cbrt>(3), B<clog>(3), B<log10>(3), B<log1p>(3), B<log2>(3), B<sqrt>(3)"
4650 #: build/C/man3/log10.3:36
4656 #: build/C/man3/log10.3:39
4657 msgid "log10, log10f, log10l - base-10 logarithmic function"
4661 #: build/C/man3/log10.3:44
4663 msgid "B<double log10(double >I<x>B<);>\n"
4667 #: build/C/man3/log10.3:46
4669 msgid "B<float log10f(float >I<x>B<);>\n"
4673 #: build/C/man3/log10.3:48
4675 msgid "B<long double log10l(long double >I<x>B<);>\n"
4679 #: build/C/man3/log10.3:60
4680 msgid "B<log10f>(), B<log10l>():"
4684 #: build/C/man3/log10.3:73
4685 msgid "The B<log10>() function returns the base 10 logarithm of I<x>."
4689 #: build/C/man3/log10.3:76
4690 msgid "On success, these functions return the base 10 logarithm of I<x>."
4694 #: build/C/man3/log10.3:81 build/C/man3/log2.3:81
4696 "For special cases, including where I<x> is 0, 1, negative, infinity, or NaN, "
4701 #: build/C/man3/log10.3:89 build/C/man3/log2.3:89
4703 "For a discussion of the errors that can occur for these functions, see "
4708 #: build/C/man3/log10.3:102
4709 msgid "B<cbrt>(3), B<clog10>(3), B<exp10>(3), B<log>(3), B<log2>(3), B<sqrt>(3)"
4713 #: build/C/man3/log1p.3:29
4719 #: build/C/man3/log1p.3:32
4720 msgid "log1p, log1pf, log1pl - logarithm of 1 plus argument"
4724 #: build/C/man3/log1p.3:37
4726 msgid "B<double log1p(double >I<x>B<);>\n"
4730 #: build/C/man3/log1p.3:39
4732 msgid "B<float log1pf(float >I<x>B<);>\n"
4736 #: build/C/man3/log1p.3:41
4738 msgid "B<long double log1pl(long double >I<x>B<);>\n"
4742 #: build/C/man3/log1p.3:52
4747 #: build/C/man3/log1p.3:63
4748 msgid "B<log1pf>(), B<log1pl>():"
4752 #: build/C/man3/log1p.3:74
4753 msgid "I<log1p(x)> returns a value equivalent to"
4757 #: build/C/man3/log1p.3:77
4759 msgid " log (1 + I<x>)\n"
4763 #: build/C/man3/log1p.3:83
4765 "It is computed in a way that is accurate even if the value of I<x> is near "
4770 #: build/C/man3/log1p.3:86
4771 msgid "On success, these functions return the natural logarithm of I<(1\\ +\\ x)>."
4775 #: build/C/man3/log1p.3:105
4777 "If I<x> is -1, a pole error occurs, and the functions return -B<HUGE_VAL>, "
4778 "-B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
4781 #. POSIX.1 specifies a possible range error if x is subnormal
4782 #. glibc 2.8 doesn't do this
4784 #: build/C/man3/log1p.3:113
4786 "If I<x> is less than -1 (including negative infinity), a domain error "
4787 "occurs, and a NaN (not a number) is returned."
4791 #: build/C/man3/log1p.3:120
4793 msgid "Domain error: I<x> is less than -1"
4797 #: build/C/man3/log1p.3:128
4799 msgid "Pole error: I<x> is -1"
4806 #: build/C/man3/log1p.3:136 build/C/man3/logb.3:131
4807 msgid "A divide-by-zero floating-point exception (B<FE_DIVBYZERO>) is raised."
4811 #: build/C/man3/log1p.3:149
4812 msgid "B<exp>(3), B<expm1>(3), B<log>(3)"
4816 #: build/C/man3/log2.3:36
4822 #: build/C/man3/log2.3:39
4823 msgid "log2, log2f, log2l - base-2 logarithmic function"
4827 #: build/C/man3/log2.3:44
4829 msgid "B<double log2(double >I<x>B<);>\n"
4833 #: build/C/man3/log2.3:46
4835 msgid "B<float log2f(float >I<x>B<);>\n"
4839 #: build/C/man3/log2.3:48
4841 msgid "B<long double log2l(long double >I<x>B<);>\n"
4845 #: build/C/man3/log2.3:61
4846 msgid "B<log2>(), B<log2f>(), B<log2l>():"
4850 #: build/C/man3/log2.3:73
4851 msgid "The B<log2>() function returns the base 2 logarithm of I<x>."
4855 #: build/C/man3/log2.3:76
4856 msgid "On success, these functions return the base 2 logarithm of I<x>."
4860 #: build/C/man3/log2.3:103
4861 msgid "B<cbrt>(3), B<clog2>(3), B<log>(3), B<log10>(3), B<sqrt>(3)"
4865 #: build/C/man3/logb.3:29
4871 #: build/C/man3/logb.3:32
4872 msgid "logb, logbf, logbl - get exponent of a floating-point value"
4876 #: build/C/man3/logb.3:36
4877 msgid "B<double logb(double >I<x>B<);>"
4881 #: build/C/man3/logb.3:38
4882 msgid "B<float logbf(float >I<x>B<);>"
4886 #: build/C/man3/logb.3:40
4887 msgid "B<long double logbl(long double >I<x>B<);>"
4891 #: build/C/man3/logb.3:50
4896 #: build/C/man3/logb.3:61
4897 msgid "B<logbf>(), B<logbl>():"
4901 #: build/C/man3/logb.3:86
4903 "These functions extract the exponent from the internal floating-point "
4904 "representation of I<x> and return it as a floating-point value. The integer "
4905 "constant B<FLT_RADIX>, defined in I<E<lt>float.hE<gt>>, indicates the radix "
4906 "used for the system's floating-point representation. If B<FLT_RADIX> is 2, "
4907 "B<logb(>I<x>B<)> is equal to B<floor(log2(>I<x>B<))>, except that it is "
4912 #: build/C/man3/logb.3:94
4914 "If I<x> is subnormal, B<logb>() returns the exponent I<x> would have if it "
4919 #: build/C/man3/logb.3:97
4920 msgid "On success, these functions return the exponent of I<x>."
4924 #: build/C/man3/logb.3:116
4926 "If I<x> is negative infinity or positive infinity, then positive infinity is "
4931 #: build/C/man3/logb.3:123
4933 msgid "Pole error: I<x> is 0"
4937 #: build/C/man3/logb.3:148
4938 msgid "B<ilogb>(3), B<log>(3)"
4942 #: build/C/man3/lrint.3:27
4948 #: build/C/man3/lrint.3:30
4949 msgid "lrint, lrintf, lrintl, llrint, llrintf, llrintl - round to nearest integer"
4953 #: build/C/man3/lrint.3:35
4955 msgid "B<long int lrint(double >I<x>B<);>\n"
4959 #: build/C/man3/lrint.3:37
4961 msgid "B<long int lrintf(float >I<x>B<);>\n"
4965 #: build/C/man3/lrint.3:39
4967 msgid "B<long int lrintl(long double >I<x>B<);>\n"
4971 #: build/C/man3/lrint.3:41
4973 msgid "B<long long int llrint(double >I<x>B<);>\n"
4977 #: build/C/man3/lrint.3:43
4979 msgid "B<long long int llrintf(float >I<x>B<);>\n"
4983 #: build/C/man3/lrint.3:45
4985 msgid "B<long long int llrintl(long double >I<x>B<);>\n"
4989 #: build/C/man3/lrint.3:56 build/C/man3/lround.3:57
4990 msgid "All functions shown above:"
4994 #: build/C/man3/lrint.3:68
4996 "These functions round their argument to the nearest integer value, using the "
4997 "current rounding direction (see B<fesetround>(3))."
5001 #: build/C/man3/lrint.3:73
5003 "Note that unlike B<rint>(3), etc., the return type of these functions "
5004 "differs from that of their arguments."
5008 #: build/C/man3/lrint.3:75 build/C/man3/lround.3:78 build/C/man3/rint.3:107 build/C/man3/round.3:77 build/C/man3/trunc.3:65
5009 msgid "These functions return the rounded integer value."
5012 #. The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
5014 #: build/C/man3/lrint.3:87 build/C/man3/lround.3:90
5016 "If I<x> is a NaN or an infinity, or the rounded value is too large to be "
5017 "stored in a I<long> (I<long long> in the case of the B<ll*> functions) then "
5018 "a domain error occurs, and the return value is unspecified."
5022 #: build/C/man3/lrint.3:94 build/C/man3/lround.3:97
5024 msgid "Domain error: I<x> is a NaN or infinite, or the rounded value is too large"
5028 #: build/C/man3/lrint.3:118
5030 "B<ceil>(3), B<floor>(3), B<lround>(3), B<nearbyint>(3), B<rint>(3), "
5035 #: build/C/man3/lround.3:27
5041 #: build/C/man3/lround.3:31
5043 "lround, lroundf, lroundl, llround, llroundf, llroundl - round to nearest "
5044 "integer, away from zero"
5048 #: build/C/man3/lround.3:36
5050 msgid "B<long int lround(double >I<x>B<);>\n"
5054 #: build/C/man3/lround.3:38
5056 msgid "B<long int lroundf(float >I<x>B<);>\n"
5060 #: build/C/man3/lround.3:40
5062 msgid "B<long int lroundl(long double >I<x>B<);>\n"
5066 #: build/C/man3/lround.3:42
5068 msgid "B<long long int llround(double >I<x>B<);>\n"
5072 #: build/C/man3/lround.3:44
5074 msgid "B<long long int llroundf(float >I<x>B<);>\n"
5078 #: build/C/man3/lround.3:46
5080 msgid "B<long long int llroundl(long double >I<x>B<);>\n"
5084 #: build/C/man3/lround.3:70
5086 "These functions round their argument to the nearest integer value, rounding "
5087 "away from zero, regardless of the current rounding direction (see "
5092 #: build/C/man3/lround.3:76
5094 "Note that unlike B<round>(3), B<ceil>(3), etc., the return type of these "
5095 "functions differs from that of their arguments."
5099 #: build/C/man3/lround.3:121 build/C/man3/trunc.3:101
5101 "B<ceil>(3), B<floor>(3), B<lrint>(3), B<nearbyint>(3), B<rint>(3), "
5106 #: build/C/man7/math_error.7:26
5112 #: build/C/man7/math_error.7:29
5113 msgid "math_error - detecting errors from mathematical functions"
5117 #: build/C/man7/math_error.7:34
5120 "B<#include E<lt>math.hE<gt>>\n"
5121 "B<#include E<lt>errno.hE<gt>>\n"
5122 "B<#include E<lt>fenv.hE<gt>>\n"
5126 #: build/C/man7/math_error.7:53
5128 "When an error occurs, most library functions indicate this fact by returning "
5129 "a special value (e.g., -1 or NULL). Because they typically return a "
5130 "floating-point number, the mathematical functions declared in "
5131 "I<E<lt>math.hE<gt>> indicate an error using other mechanisms. There are two "
5132 "error-reporting mechanisms: the older one sets I<errno>; the newer one uses "
5133 "the floating-point exception mechanism (the use of B<feclearexcept>(3) and "
5134 "B<fetestexcept>(3), as outlined below) described in B<fenv>(3)."
5138 #: build/C/man7/math_error.7:58
5140 "A portable program that needs to check for an error from a mathematical "
5141 "function should set I<errno> to zero, and make the following call"
5145 #: build/C/man7/math_error.7:62
5147 msgid "feclearexcept(FE_ALL_EXCEPT);\n"
5151 #: build/C/man7/math_error.7:66
5152 msgid "before calling a mathematical function."
5156 #: build/C/man7/math_error.7:72
5158 "Upon return from the mathematical function, if I<errno> is nonzero, or the "
5159 "following call (see B<fenv>(3)) returns nonzero"
5163 #: build/C/man7/math_error.7:77
5166 "fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW |\n"
5172 #. FE_INVALID = 0x01,
5173 #. __FE_DENORM = 0x02,
5174 #. FE_DIVBYZERO = 0x04,
5175 #. FE_OVERFLOW = 0x08,
5176 #. FE_UNDERFLOW = 0x10,
5177 #. FE_INEXACT = 0x20
5180 #: build/C/man7/math_error.7:90
5181 msgid "then an error occurred in the mathematical function."
5185 #: build/C/man7/math_error.7:93
5187 "The error conditions that can occur for mathematical functions are described "
5192 #: build/C/man7/math_error.7:93
5194 msgid "Domain error"
5198 #: build/C/man7/math_error.7:109
5200 "A I<domain error> occurs when a mathematical function is supplied with an "
5201 "argument whose value falls outside the domain for which the function is "
5202 "defined (e.g., giving a negative argument to B<log>(3)). When a domain "
5203 "error occurs, math functions commonly return a NaN (though some functions "
5204 "return a different value in this case); I<errno> is set to B<EDOM>, and an "
5205 "\"invalid\" (B<FE_INVALID>) floating-point exception is raised."
5209 #: build/C/man7/math_error.7:109
5215 #: build/C/man7/math_error.7:133
5217 "A I<pole error> occurs when the mathematical result of a function is an "
5218 "exact infinity (e.g., the logarithm of 0 is negative infinity). When a pole "
5219 "error occurs, the function returns the (signed) value B<HUGE_VAL>, "
5220 "B<HUGE_VALF>, or B<HUGE_VALL>, depending on whether the function result type "
5221 "is I<double>, I<float>, or I<long double>. The sign of the result is that "
5222 "which is mathematically correct for the function. I<errno> is set to "
5223 "B<ERANGE>, and a \"divide-by-zero\" (B<FE_DIVBYZERO>) floating-point "
5224 "exception is raised."
5228 #: build/C/man7/math_error.7:133
5234 #: build/C/man7/math_error.7:140
5236 "A I<range error> occurs when the magnitude of the function result means that "
5237 "it cannot be represented in the result type of the function. The return "
5238 "value of the function depends on whether the range error was an overflow or "
5243 #: build/C/man7/math_error.7:162
5245 "A floating result I<overflows> if the result is finite, but is too large to "
5246 "represented in the result type. When an overflow occurs, the function "
5247 "returns the value B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, depending on "
5248 "whether the function result type is I<double>, I<float>, or I<long double>. "
5249 "I<errno> is set to B<ERANGE>, and an \"overflow\" (B<FE_OVERFLOW>) "
5250 "floating-point exception is raised."
5254 #: build/C/man7/math_error.7:177
5256 "A floating result I<underflows> if the result is too small to be represented "
5257 "in the result type. If an underflow occurs, a mathematical function "
5258 "typically returns 0.0 (C99 says a function shall return \"an "
5259 "implementation-defined value whose magnitude is no greater than the smallest "
5260 "normalized positive number in the specified type\"). I<errno> may be set to "
5261 "B<ERANGE>, and an \"overflow\" (B<FE_UNDERFLOW>) floating-point exception "
5266 #: build/C/man7/math_error.7:187
5268 "Some functions deliver a range error if the supplied argument value, or the "
5269 "correct function result, would be I<subnormal>. A subnormal value is one "
5270 "that is nonzero, but with a magnitude that is so small that it can't be "
5271 "presented in normalized form (i.e., with a 1 in the most significant bit of "
5272 "the significand). The representation of a subnormal number will contain one "
5273 "or more leading zeros in the significand."
5276 #. See CONFORMANCE in the glibc 2.8 (and earlier) source.
5278 #: build/C/man7/math_error.7:209
5280 "The I<math_errhandling> identifier specified by C99 and POSIX.1-2001 is not "
5281 "supported by glibc. This identifier is supposed to indicate which of the "
5282 "two error-notification mechanisms (I<errno>, exceptions retrievable via "
5283 "B<fettestexcept>(3)) is in use. The standards require that at least one be "
5284 "in use, but permit both to be available. The current (version 2.8) "
5285 "situation under glibc is messy. Most (but not all) functions raise "
5286 "exceptions on errors. Some also set I<errno>. A few functions set "
5287 "I<errno>, but don't raise an exception. A very few functions do neither. "
5288 "See the individual manual pages for details."
5291 #. http://www.securecoding.cert.org/confluence/display/seccode/FLP32-C.+Prevent+or+detect+domain+and+range+errors+in+math+functions
5293 #: build/C/man7/math_error.7:222
5295 "To avoid the complexities of using I<errno> and B<fetestexcept>(3) for "
5296 "error checking, it is often advised that one should instead check for bad "
5297 "argument values before each call. For example, the following code ensures "
5298 "that B<log>(3)'s argument is not a NaN and is not zero (a pole error) or "
5299 "less than zero (a domain error):"
5303 #: build/C/man7/math_error.7:226
5305 msgid "double x, r;\n"
5309 #: build/C/man7/math_error.7:230
5312 "if (isnan(x) || islessequal(x, 0)) {\n"
5313 " /* Deal with NaN / pole error / domain error */\n"
5318 #: build/C/man7/math_error.7:232
5320 msgid "r = log(x);\n"
5324 #: build/C/man7/math_error.7:240
5326 "The discussion on this page does not apply to the complex mathematical "
5327 "functions (i.e., those declared by I<E<lt>complex.hE<gt>>), which in general "
5328 "are not required to return errors by C99 and POSIX.1-2001."
5332 #: build/C/man7/math_error.7:256
5334 "The B<gcc>(1) I<-fno-math-errno> option causes the executable to employ "
5335 "implementations of some mathematical functions that are faster than the "
5336 "standard implementations, but do not set I<errno> on error. (The B<gcc>(1) "
5337 "I<-ffast-math> option also enables I<-fno-math-errno>.) An error can still "
5338 "be tested for using B<fetestexcept>(3)."
5342 #: build/C/man7/math_error.7:265
5344 "B<gcc>(1), B<errno>(3), B<fenv>(3), B<fpclassify>(3), B<INFINITY>(3), "
5345 "B<isgreater>(3), B<matherr>(3), B<nan>(3)"
5349 #: build/C/man7/math_error.7:267
5350 msgid "I<info libc>"
5354 #: build/C/man3/matherr.3:27
5360 #: build/C/man3/matherr.3:27
5366 #: build/C/man3/matherr.3:30
5367 msgid "matherr - SVID math library exception handling"
5371 #: build/C/man3/matherr.3:34
5374 "B<#define _SVID_SOURCE> /* See feature_test_macros(7) */\n"
5375 "B<#include E<lt>math.hE<gt>>\n"
5379 #: build/C/man3/matherr.3:36
5381 msgid "B<int matherr(struct exception *>I<exc>B<);>\n"
5385 #: build/C/man3/matherr.3:38
5387 msgid "B<extern _LIB_VERSION_TYPE _LIB_VERSION;>\n"
5391 #: build/C/man3/matherr.3:51
5393 "The System V Interface Definition (SVID) specifies that various math "
5394 "functions should invoke a function called B<matherr>() if a math exception "
5395 "is detected. This function is called before the math function returns; "
5396 "after B<matherr>() returns, the system then returns to the math function, "
5397 "which in turn returns to the caller."
5401 #: build/C/man3/matherr.3:62
5403 "The B<matherr>() mechanism is supported by glibc, but is now obsolete: new "
5404 "applications should use the techniques described in B<math_error>(7) and "
5405 "B<fenv>(3). This page documents the glibc B<matherr>() mechanism as an aid "
5406 "for maintaining and porting older applications."
5410 #: build/C/man3/matherr.3:75
5412 "To employ B<matherr>(), the programmer must define the B<_SVID_SOURCE> "
5413 "feature test macro (before including I<any> header files), and assign the "
5414 "value B<_SVID_> to the external variable B<_LIB_VERSION>."
5418 #: build/C/man3/matherr.3:87
5420 "The system provides a default version of B<matherr>(). This version does "
5421 "nothing, and returns zero (see below for the significance of this). The "
5422 "default B<matherr>() can be overridden by a programmer-defined version, "
5423 "which will be invoked when an exception occurs. The function is invoked "
5424 "with one argument, a pointer to an I<exception> structure, defined as "
5429 #: build/C/man3/matherr.3:97
5432 "struct exception {\n"
5433 " int type; /* Exception type */\n"
5434 " char *name; /* Name of function causing exception */\n"
5435 " double arg1; /* 1st argument to function */\n"
5436 " double arg2; /* 2nd argument to function */\n"
5437 " double retval; /* Function return value */\n"
5442 #: build/C/man3/matherr.3:103
5443 msgid "The I<type> field has one of the following values:"
5447 #: build/C/man3/matherr.3:103
5453 #: build/C/man3/matherr.3:111
5455 "A domain error occurred (the function argument was outside the range for "
5456 "which the function is defined). The return value depends on the function; "
5457 "I<errno> is set to B<EDOM>."
5461 #: build/C/man3/matherr.3:111
5467 #: build/C/man3/matherr.3:122
5469 "A pole error occurred (the function result is an infinity). The return "
5470 "value in most cases is B<HUGE> (the largest single precision floating-point "
5471 "number), appropriately signed. In most cases, I<errno> is set to B<EDOM>."
5475 #: build/C/man3/matherr.3:122
5481 #: build/C/man3/matherr.3:131
5483 "An overflow occurred. In most cases, the value B<HUGE> is returned, and "
5484 "I<errno> is set to B<ERANGE>."
5488 #: build/C/man3/matherr.3:131
5490 msgid "B<UNDERFLOW>"
5494 #: build/C/man3/matherr.3:138
5495 msgid "An underflow occurred. 0.0 is returned, and I<errno> is set to B<ERANGE>."
5499 #: build/C/man3/matherr.3:138
5505 #: build/C/man3/matherr.3:145
5507 "Total loss of significance. 0.0 is returned, and I<errno> is set to "
5512 #: build/C/man3/matherr.3:145
5518 #: build/C/man3/matherr.3:150
5520 "Partial loss of significance. This value is unused on glibc (and many other "
5525 #: build/C/man3/matherr.3:158
5527 "The I<arg1> and I<arg2> fields are the arguments supplied to the function "
5528 "(I<arg2> is undefined for functions that take only one argument)."
5532 #: build/C/man3/matherr.3:166
5534 "The I<retval> field specifies the return value that the math function will "
5535 "return to its caller. The programmer-defined B<matherr>() can modify this "
5536 "field to change the return value of the math function."
5540 #: build/C/man3/matherr.3:173
5542 "If the B<matherr>() function returns zero, then the system sets I<errno> as "
5543 "described above, and may print an error message on standard error (see "
5548 #: build/C/man3/matherr.3:179
5550 "If the B<matherr>() function returns a nonzero value, then the system does "
5551 "not set I<errno>, and doesn't print an error message."
5555 #: build/C/man3/matherr.3:179
5557 msgid "Math functions that employ matherr()"
5561 #: build/C/man3/matherr.3:189
5563 "The table below lists the functions and circumstances in which B<matherr>() "
5564 "is called. The \"Type\" column indicates the value assigned to "
5565 "I<exc-E<gt>type> when calling B<matherr>(). The \"Result\" column is the "
5566 "default return value assigned to I<exc-E<gt>retval>."
5570 #: build/C/man3/matherr.3:195
5572 "The \"Msg?\" and \"errno\" columns describe the default behavior if "
5573 "B<matherr>() returns zero. If the \"Msg?\" columns contains \"y\", then "
5574 "the system prints an error message on standard error."
5578 #: build/C/man3/matherr.3:197
5579 msgid "The table uses the following notations and abbreviations:"
5583 #: build/C/man3/matherr.3:209
5586 "x first argument to function\n"
5587 "y second argument to function\n"
5588 "fin finite value for argument\n"
5589 "neg negative value for argument\n"
5590 "int integral value for argument\n"
5591 "o/f result overflowed\n"
5592 "u/f result underflowed\n"
5593 "|x| absolute value of x\n"
5594 "X_TLOSS is a constant defined in I<E<lt>math.hE<gt>>\n"
5598 #: build/C/man3/matherr.3:216
5600 msgid "Function\tType\tResult\tMsg?\terrno\n"
5604 #: build/C/man3/matherr.3:217
5606 msgid "acos(|x|E<gt>1)\tDOMAIN\tHUGE\ty\tEDOM\n"
5610 #: build/C/man3/matherr.3:218
5612 msgid "asin(|x|E<gt>1)\tDOMAIN\tHUGE\ty\tEDOM\n"
5616 #: build/C/man3/matherr.3:219
5618 msgid "atan2(0,0)\tDOMAIN\tHUGE\ty\tEDOM\n"
5621 #. retval is 0.0/0.0
5623 #: build/C/man3/matherr.3:220
5625 msgid "acosh(xE<lt>1)\tDOMAIN\tNAN\ty\tEDOM\t\n"
5628 #. retval is 0.0/0.0
5630 #: build/C/man3/matherr.3:221
5632 msgid "atanh(|x|E<gt>1)\tDOMAIN\tNAN\ty\tEDOM\t\n"
5637 #: build/C/man3/matherr.3:222
5639 msgid "atanh(|x|==1)\tSING\t(xE<gt>0.0)?\ty\tEDOM\t\n"
5643 #: build/C/man3/matherr.3:223 build/C/man3/matherr.3:268
5645 msgid "\\ \t\\ \tHUGE_VAL :\n"
5649 #: build/C/man3/matherr.3:224 build/C/man3/matherr.3:269
5651 msgid "\\ \t\\ \t-HUGE_VAL\n"
5655 #: build/C/man3/matherr.3:225
5657 msgid "cosh(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5661 #: build/C/man3/matherr.3:226
5663 msgid "sinh(fin) o/f\tOVERFLOW\t(xE<gt>0.0) ?\tn\tERANGE\n"
5667 #: build/C/man3/matherr.3:227
5669 msgid "\\ \t\\ \tHUGE : -HUGE\n"
5673 #: build/C/man3/matherr.3:228
5675 msgid "sqrt(xE<lt>0)\tDOMAIN\t0.0\ty\tEDOM\n"
5679 #: build/C/man3/matherr.3:229
5681 msgid "hypot(fin,fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5685 #: build/C/man3/matherr.3:230
5687 msgid "exp(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5691 #: build/C/man3/matherr.3:231
5693 msgid "exp(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5697 #: build/C/man3/matherr.3:232
5699 msgid "exp2(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5703 #: build/C/man3/matherr.3:233
5705 msgid "exp2(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5709 #: build/C/man3/matherr.3:234
5711 msgid "exp10(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5715 #: build/C/man3/matherr.3:235
5717 msgid "exp10(fin) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5721 #: build/C/man3/matherr.3:236
5723 msgid "j0(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5727 #: build/C/man3/matherr.3:237
5729 msgid "j1(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5733 #: build/C/man3/matherr.3:238
5735 msgid "jn(|x|E<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5739 #: build/C/man3/matherr.3:239
5741 msgid "y0(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5745 #: build/C/man3/matherr.3:240
5747 msgid "y1(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5751 #: build/C/man3/matherr.3:241
5753 msgid "yn(xE<gt>X_TLOSS)\tTLOSS\t0.0\ty\tERANGE\n"
5757 #: build/C/man3/matherr.3:242
5759 msgid "y0(0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5763 #: build/C/man3/matherr.3:243
5765 msgid "y0(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5769 #: build/C/man3/matherr.3:244
5771 msgid "y1(0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5775 #: build/C/man3/matherr.3:245
5777 msgid "y1(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5781 #: build/C/man3/matherr.3:246
5783 msgid "yn(n,0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5787 #: build/C/man3/matherr.3:247
5789 msgid "yn(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5793 #: build/C/man3/matherr.3:248
5795 msgid "lgamma(fin) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5799 #: build/C/man3/matherr.3:249
5801 msgid "lgamma(-int) or\tSING\tHUGE\ty\tEDOM\n"
5805 #: build/C/man3/matherr.3:250
5807 msgid "\\ \\ lgamma(0)\n"
5811 #: build/C/man3/matherr.3:251
5813 msgid "tgamma(fin) o/f\tOVERFLOW\tHUGE_VAL\tn\tERANGE\n"
5817 #: build/C/man3/matherr.3:252
5819 msgid "tgamma(-int)\tSING\tNAN\ty\tEDOM\n"
5823 #: build/C/man3/matherr.3:253
5825 msgid "tgamma(0)\tSING\tcopysign(\ty\tERANGE\n"
5829 #: build/C/man3/matherr.3:254
5831 msgid "\\ \t\\ \tHUGE_VAL,x)\n"
5835 #: build/C/man3/matherr.3:255
5837 msgid "log(0)\tSING\t-HUGE\ty\tEDOM\n"
5841 #: build/C/man3/matherr.3:256
5843 msgid "log(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5846 #. different from log()
5848 #: build/C/man3/matherr.3:257
5850 msgid "log2(0)\tSING\t-HUGE\tn\tEDOM\t\n"
5853 #. different from log()
5855 #: build/C/man3/matherr.3:258
5857 msgid "log2(xE<lt>0)\tDOMAIN\t-HUGE\tn\tEDOM\t\n"
5861 #: build/C/man3/matherr.3:259
5863 msgid "log10(0)\tSING\t-HUGE\ty\tEDOM\n"
5867 #: build/C/man3/matherr.3:260
5869 msgid "log10(xE<lt>0)\tDOMAIN\t-HUGE\ty\tEDOM\n"
5873 #: build/C/man3/matherr.3:261
5875 msgid "pow(0.0,0.0)\tDOMAIN\t0.0\ty\tEDOM\n"
5879 #: build/C/man3/matherr.3:262
5881 msgid "pow(x,y) o/f\tOVERFLOW\tHUGE\tn\tERANGE\n"
5885 #: build/C/man3/matherr.3:263
5887 msgid "pow(x,y) u/f\tUNDERFLOW\t0.0\tn\tERANGE\n"
5891 #: build/C/man3/matherr.3:264
5893 msgid "pow(NaN,0.0)\tDOMAIN\tx\tn\tEDOM\n"
5898 #: build/C/man3/matherr.3:265
5900 msgid "0**neg\tDOMAIN\t0.0\ty\tEDOM\t\n"
5904 #: build/C/man3/matherr.3:266
5906 msgid "neg**non-int\tDOMAIN\t0.0\ty\tEDOM\n"
5910 #: build/C/man3/matherr.3:267
5912 msgid "scalb() o/f\tOVERFLOW\t(xE<gt>0.0) ?\tn\tERANGE\n"
5916 #: build/C/man3/matherr.3:270
5918 msgid "scalb() u/f\tUNDERFLOW\tcopysign(\tn\tERANGE\n"
5922 #: build/C/man3/matherr.3:271
5924 msgid "\\ \t\\ \t\\ \\ 0.0,x)\n"
5928 #: build/C/man3/matherr.3:272
5930 msgid "fmod(x,0)\tDOMAIN\tx\ty\tEDOM\n"
5933 #. retval is 0.0/0.0
5935 #: build/C/man3/matherr.3:273
5937 msgid "remainder(x,0)\tDOMAIN\tNAN\ty\tEDOM\t\n"
5941 #: build/C/man3/matherr.3:296
5943 "The example program demonstrates the use of B<matherr>() when calling "
5944 "B<log>(3). The program takes up to three command-line arguments. The first "
5945 "argument is the floating-point number to be given to B<log>(3). If the "
5946 "optional second argument is provided, then B<_LIB_VERSION> is set to "
5947 "B<_SVID_> so that B<matherr>() is called, and the integer supplied in the "
5948 "command-line argument is used as the return value from B<matherr>(). If the "
5949 "optional third command-line argument is supplied, then it specifies an "
5950 "alternative return value that B<matherr>() should assign as the return "
5951 "value of the math function."
5955 #: build/C/man3/matherr.3:301
5957 "The following example run, where B<log>(3) is given an argument of 0.0, "
5958 "does not use B<matherr>():"
5962 #: build/C/man3/matherr.3:307
5965 "$B< ./a.out 0.0>\n"
5966 "errno: Numerical result out of range\n"
5971 #: build/C/man3/matherr.3:313
5972 msgid "In the following run, B<matherr>() is called, and returns 0:"
5976 #: build/C/man3/matherr.3:323
5979 "$B< ./a.out 0.0 0>\n"
5980 "matherr SING exception in log() function\n"
5981 " args: 0.000000, 0.000000\n"
5982 " retval: -340282346638528859811704183484516925440.000000\n"
5984 "errno: Numerical argument out of domain\n"
5985 "x=-340282346638528859811704183484516925440.000000\n"
5989 #: build/C/man3/matherr.3:327
5990 msgid "The message \"log: SING error\" was printed by the C library."
5994 #: build/C/man3/matherr.3:331
5995 msgid "In the following run, B<matherr>() is called, and returns a nonzero value:"
5999 #: build/C/man3/matherr.3:339
6002 "$B< ./a.out 0.0 1>\n"
6003 "matherr SING exception in log() function\n"
6004 " args: 0.000000, 0.000000\n"
6005 " retval: -340282346638528859811704183484516925440.000000\n"
6006 "x=-340282346638528859811704183484516925440.000000\n"
6010 #: build/C/man3/matherr.3:345
6012 "In this case, the C library did not print a message, and I<errno> was not "
6017 #: build/C/man3/matherr.3:350
6019 "In the following run, B<matherr>() is called, changes the return value of "
6020 "the math function, and returns a nonzero value:"
6024 #: build/C/man3/matherr.3:358
6027 "$B< ./a.out 0.0 1 12345.0>\n"
6028 "matherr SING exception in log() function\n"
6029 " args: 0.000000, 0.000000\n"
6030 " retval: -340282346638528859811704183484516925440.000000\n"
6035 #: build/C/man3/matherr.3:368
6038 "#define _SVID_SOURCE\n"
6039 "#include E<lt>errno.hE<gt>\n"
6040 "#include E<lt>math.hE<gt>\n"
6041 "#include E<lt>stdio.hE<gt>\n"
6042 "#include E<lt>stdlib.hE<gt>\n"
6046 #: build/C/man3/matherr.3:374
6049 "static int matherr_ret = 0; /* Value that matherr()\n"
6050 " should return */\n"
6051 "static int change_retval = 0; /* Should matherr() change\n"
6052 " function\\(aqs return value? */\n"
6053 "static double new_retval; /* New function return value */\n"
6057 #: build/C/man3/matherr.3:389
6061 "matherr(struct exception *exc)\n"
6063 " fprintf(stderr, \"matherr %s exception in %s() function\\en\",\n"
6064 " (exc-E<gt>type == DOMAIN) ? \"DOMAIN\" :\n"
6065 " (exc-E<gt>type == OVERFLOW) ? \"OVERFLOW\" :\n"
6066 " (exc-E<gt>type == UNDERFLOW) ? \"UNDERFLOW\" :\n"
6067 " (exc-E<gt>type == SING) ? \"SING\" :\n"
6068 " (exc-E<gt>type == TLOSS) ? \"TLOSS\" :\n"
6069 " (exc-E<gt>type == PLOSS) ? \"PLOSS\" : \"???\",\n"
6070 " exc-E<gt>name);\n"
6071 " fprintf(stderr, \" args: %f, %f\\en\",\n"
6072 " exc-E<gt>arg1, exc-E<gt>arg2);\n"
6073 " fprintf(stderr, \" retval: %f\\en\", exc-E<gt>retval);\n"
6077 #: build/C/man3/matherr.3:392
6080 " if (change_retval)\n"
6081 " exc-E<gt>retval = new_retval;\n"
6085 #: build/C/man3/matherr.3:395
6088 " return matherr_ret;\n"
6093 #: build/C/man3/matherr.3:400
6097 "main(int argc, char *argv[])\n"
6103 #: build/C/man3/matherr.3:406
6106 " if (argc E<lt> 2) {\n"
6107 " fprintf(stderr, \"Usage: %s E<lt>argvalE<gt>\"\n"
6108 " \" [E<lt>matherr-retE<gt> "
6109 "[E<lt>new-func-retvalE<gt>]]\\en\", argv[0]);\n"
6110 " exit(EXIT_FAILURE);\n"
6115 #: build/C/man3/matherr.3:411
6118 " if (argc E<gt> 2) {\n"
6119 " _LIB_VERSION = _SVID_;\n"
6120 " matherr_ret = atoi(argv[2]);\n"
6125 #: build/C/man3/matherr.3:416
6128 " if (argc E<gt> 3) {\n"
6129 " change_retval = 1;\n"
6130 " new_retval = atof(argv[3]);\n"
6135 #: build/C/man3/matherr.3:420
6138 " x = log(atof(argv[1]));\n"
6139 " if (errno != 0)\n"
6140 " perror(\"errno\");\n"
6144 #: build/C/man3/matherr.3:424
6147 " printf(\"x=%f\\en\", x);\n"
6148 " exit(EXIT_SUCCESS);\n"
6153 #: build/C/man3/matherr.3:429
6154 msgid "B<fenv>(3), B<math_error>(7), B<standards>(7)"
6158 #: build/C/man3/modf.3:33
6164 #: build/C/man3/modf.3:37
6166 "modf, modff, modfl - extract signed integral and fractional values from "
6167 "floating-point number"
6171 #: build/C/man3/modf.3:42
6173 msgid "B<double modf(double >I<x>B<, double *>I<iptr>B<);>\n"
6177 #: build/C/man3/modf.3:44
6179 msgid "B<float modff(float >I<x>B<, float *>I<iptr>B<);>\n"
6183 #: build/C/man3/modf.3:46
6185 msgid "B<long double modfl(long double >I<x>B<, long double *>I<iptr>B<);>\n"
6189 #: build/C/man3/modf.3:58
6190 msgid "B<modf>(), B<modfl>():"
6194 #: build/C/man3/modf.3:76
6196 "The B<modf>() function breaks the argument I<x> into an integral part and a "
6197 "fractional part, each of which has the same sign as I<x>. The integral part "
6198 "is stored in the location pointed to by I<iptr>."
6202 #: build/C/man3/modf.3:81
6203 msgid "The B<modf>() function returns the fractional part of I<x>."
6207 #: build/C/man3/modf.3:87
6208 msgid "If I<x> is a NaN, a NaN is returned, and I<*iptr> is set to a NaN."
6212 #: build/C/man3/modf.3:93
6214 "If I<x> is positive infinity (negative infinity), +0 (-0) is returned, and "
6215 "I<*iptr> is set to positive infinity (negative infinity)."
6219 #: build/C/man3/modf.3:103
6220 msgid "The B<modf>(), B<modff>(), and B<modfl>() functions are thread-safe."
6224 #: build/C/man3/modf.3:112
6225 msgid "B<frexp>(3), B<ldexp>(3)"
6229 #: build/C/man3/nan.3:11
6235 #: build/C/man3/nan.3:14
6236 msgid "nan, nanf, nanl - return 'Not a Number'"
6240 #: build/C/man3/nan.3:18
6241 msgid "B<double nan(const char *>I<tagp>B<);>"
6245 #: build/C/man3/nan.3:20
6246 msgid "B<float nanf(const char *>I<tagp>B<);>"
6250 #: build/C/man3/nan.3:22
6251 msgid "B<long double nanl(const char *>I<tagp>B<);>"
6255 #: build/C/man3/nan.3:34
6256 msgid "B<nan>(), B<nanf>(), B<nanl>():"
6260 #: build/C/man3/nan.3:48
6262 "These functions return a representation (determined by I<tagp>) of a quiet "
6263 "NaN. If the implementation does not support quiet NaNs, these functions "
6268 #: build/C/man3/nan.3:52
6269 msgid "The call I<nan(\"char-sequence\")> is equivalent to:"
6273 #: build/C/man3/nan.3:55
6275 msgid " strtod(\"NAN(char-sequence)\", NULL);\n"
6279 #: build/C/man3/nan.3:65
6281 "Similarly, calls to B<nanf>() and B<nanl>() are equivalent to analogous "
6282 "calls to B<strtof>(3) and B<strtold>(3)."
6286 #: build/C/man3/nan.3:73
6288 "The argument I<tagp> is used in an unspecified manner. On IEEE 754 systems, "
6289 "there are many representations of NaN, and I<tagp> selects one. On other "
6290 "systems it may do nothing."
6294 #: build/C/man3/nan.3:79
6296 "C99, POSIX.1-2001. See also IEC 559 and the appendix with recommended "
6297 "functions in IEEE 754/IEEE 854."
6301 #: build/C/man3/nan.3:83
6302 msgid "B<isnan>(3), B<strtod>(3), B<math_error>(7)"
6306 #: build/C/man3/nextafter.3:11
6312 #: build/C/man3/nextafter.3:15
6314 "nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, nexttowardl - "
6315 "floating-point number manipulation"
6319 #: build/C/man3/nextafter.3:19
6320 msgid "B<double nextafter(double >I<x>B<, double >I<y>B<);>"
6324 #: build/C/man3/nextafter.3:21
6325 msgid "B<float nextafterf(float >I<x>B<, float >I<y>B<);>"
6329 #: build/C/man3/nextafter.3:23
6330 msgid "B<long double nextafterl(long double >I<x>B<, long double >I<y>B<);>"
6334 #: build/C/man3/nextafter.3:25
6335 msgid "B<double nexttoward(double >I<x>B<, long double >I<y>B<);>"
6339 #: build/C/man3/nextafter.3:27
6340 msgid "B<float nexttowardf(float >I<x>B<, long double >I<y>B<);>"
6344 #: build/C/man3/nextafter.3:29
6345 msgid "B<long double nexttowardl(long double >I<x>B<, long double >I<y>B<);>"
6349 #: build/C/man3/nextafter.3:39
6350 msgid "B<nextafter>():"
6354 #: build/C/man3/nextafter.3:51
6355 msgid "B<nextafterf>(), B<nextafterl>():"
6359 #: build/C/man3/nextafter.3:62
6360 msgid "B<nexttoward>(), B<nexttowardf>(), B<nexttowardl>():"
6364 #: build/C/man3/nextafter.3:83
6366 "The B<nextafter>() functions return the next representable floating-point "
6367 "value following I<x> in the direction of I<y>. If I<y> is less than I<x>, "
6368 "these functions will return the largest representable number less than I<x>."
6372 #: build/C/man3/nextafter.3:90
6373 msgid "If I<x> equals I<y>, the functions return I<y>."
6377 #: build/C/man3/nextafter.3:98
6379 "The B<nexttoward>() functions do the same as the B<nextafter>() functions, "
6380 "except that they have a I<long double> second argument."
6384 #: build/C/man3/nextafter.3:104
6386 "On success, these functions return the next representable floating-point "
6387 "value after I<x> in the direction of I<y>."
6391 #: build/C/man3/nextafter.3:114
6392 msgid "If I<x> equals I<y>, then I<y> (cast to the same type as I<x>) is returned."
6397 #: build/C/man3/nextafter.3:134
6399 "If I<x> is finite, and the result would overflow, a range error occurs, and "
6400 "the functions return B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, "
6401 "respectively, with the correct mathematical sign."
6405 #: build/C/man3/nextafter.3:143
6407 "If I<x> is not equal to I<y>, and the correct function result would be "
6408 "subnormal, zero, or underflow, a range error occurs, and either the correct "
6409 "value (if it can be represented), or 0.0, is returned."
6413 #: build/C/man3/nextafter.3:159
6415 msgid "Range error: result is subnormal or underflows"
6419 #: build/C/man3/nextafter.3:182
6421 "In glibc version 2.5 and earlier, these functions do not raise an underflow "
6422 "floating-point (B<FE_UNDERFLOW>) exception when an underflow occurs."
6426 #: build/C/man3/nextafter.3:184
6427 msgid "B<nearbyint>(3)"
6431 #: build/C/man3/pow.3:35
6437 #: build/C/man3/pow.3:38
6438 msgid "pow, powf, powl - power functions"
6442 #: build/C/man3/pow.3:43
6444 msgid "B<double pow(double >I<x>B<, double >I<y>B<);>\n"
6448 #: build/C/man3/pow.3:45
6450 msgid "B<float powf(float >I<x>B<, float >I<y>B<);>\n"
6454 #: build/C/man3/pow.3:47
6456 msgid "B<long double powl(long double >I<x>B<, long double >I<y>B<);>\n"
6460 #: build/C/man3/pow.3:59
6461 msgid "B<powf>(), B<powl>():"
6465 #: build/C/man3/pow.3:75
6467 "The B<pow>() function returns the value of I<x> raised to the power of "
6472 #: build/C/man3/pow.3:80
6473 msgid "On success, these functions return the value of I<x> to the power of I<y>."
6476 #. The domain error is generated at least as far back as glibc 2.4
6478 #: build/C/man3/pow.3:88
6480 "If I<x> is a finite value less than 0, and I<y> is a finite noninteger, a "
6481 "domain error occurs, and a NaN is returned."
6484 #. The range error is generated at least as far back as glibc 2.4
6486 #: build/C/man3/pow.3:98
6488 "If the result overflows, a range error occurs, and the functions return "
6489 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the "
6490 "mathematically correct sign."
6493 #. POSIX.1 does not specify the sign of the zero,
6494 #. but http://sources.redhat.com/bugzilla/show_bug.cgi?id=2678
6495 #. points out that the zero has the wrong sign in some cases.
6497 #: build/C/man3/pow.3:105
6499 "If result underflows, and is not representable, a range error occurs, and "
6504 #: build/C/man3/pow.3:111
6505 msgid "Except as specified below, if I<x> or I<y> is a NaN, the result is a NaN."
6509 #: build/C/man3/pow.3:117
6510 msgid "If I<x> is +1, the result is 1.0 (even if I<y> is a NaN)."
6514 #: build/C/man3/pow.3:123
6515 msgid "If I<y> is 0, the result is 1.0 (even if I<x> is a NaN)."
6519 #: build/C/man3/pow.3:131
6521 "If I<x> is +0 (-0), and I<y> is an odd integer greater than 0, the result is "
6526 #: build/C/man3/pow.3:139
6528 "If I<x> is 0, and I<y> greater than 0 and not an odd integer, the result is "
6533 #: build/C/man3/pow.3:147
6535 "If I<x> is -1, and I<y> is positive infinity or negative infinity, the "
6540 #: build/C/man3/pow.3:155
6542 "If the absolute value of I<x> is less than 1, and I<y> is negative infinity, "
6543 "the result is positive infinity."
6547 #: build/C/man3/pow.3:163
6549 "If the absolute value of I<x> is greater than 1, and I<y> is negative "
6550 "infinity, the result is +0."
6554 #: build/C/man3/pow.3:171
6556 "If the absolute value of I<x> is less than 1, and I<y> is positive infinity, "
6561 #: build/C/man3/pow.3:179
6563 "If the absolute value of I<x> is greater than 1, and I<y> is positive "
6564 "infinity, the result is positive infinity."
6568 #: build/C/man3/pow.3:187
6570 "If I<x> is negative infinity, and I<y> is an odd integer less than 0, the "
6575 #: build/C/man3/pow.3:195
6577 "If I<x> is negative infinity, and I<y> less than 0 and not an odd integer, "
6582 #: build/C/man3/pow.3:203
6584 "If I<x> is negative infinity, and I<y> is an odd integer greater than 0, the "
6585 "result is negative infinity."
6589 #: build/C/man3/pow.3:211
6591 "If I<x> is negative infinity, and I<y> greater than 0 and not an odd "
6592 "integer, the result is positive infinity."
6596 #: build/C/man3/pow.3:219
6597 msgid "If I<x> is positive infinity, and I<y> less than 0, the result is +0."
6601 #: build/C/man3/pow.3:227
6603 "If I<x> is positive infinity, and I<y> greater than 0, the result is "
6604 "positive infinity."
6608 #: build/C/man3/pow.3:242
6610 "If I<x> is +0 or -0, and I<y> is an odd integer less than 0, a pole error "
6611 "occurs and B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, is returned, with the "
6612 "same sign as I<x>."
6615 #. The pole error is generated at least as far back as glibc 2.4
6617 #: build/C/man3/pow.3:256
6619 "If I<x> is +0 or -0, and I<y> is less than 0 and not an odd integer, a pole "
6620 "error occurs and +B<HUGE_VAL>, +B<HUGE_VALF>, or +B<HUGE_VALL>, is returned."
6624 #: build/C/man3/pow.3:283
6626 msgid "Domain error: I<x> is negative, and I<y> is a finite noninteger"
6630 #: build/C/man3/pow.3:291
6632 msgid "Pole error: I<x> is zero, and I<y> is negative"
6636 #: build/C/man3/pow.3:300
6638 msgid "Range error: the result overflows"
6642 #: build/C/man3/pow.3:308
6644 msgid "Range error: the result underflows"
6648 #. http://sources.redhat.com/bugzilla/show_bug.cgi?id=6776
6649 #. or possibly 2.9, I haven't found the source code change
6650 #. and I don't have a 2.9 system to test
6652 #: build/C/man3/pow.3:336
6654 "In glibc 2.9 and earlier, when a pole error occurs, I<errno> is set to "
6655 "B<EDOM> instead of the POSIX-mandated B<ERANGE>. Since version 2.10, glibc "
6656 "does the right thing."
6659 #. see bug http://sources.redhat.com/bugzilla/show_bug.cgi?id=3866
6660 #. and http://sources.redhat.com/bugzilla/show_bug.cgi?id=369
6662 #: build/C/man3/pow.3:356
6664 "If I<x> is negative, then large negative or positive I<y> values yield a NaN "
6665 "as the function result, with I<errno> set to B<EDOM>, and an invalid "
6666 "(B<FE_INVALID>) floating-point exception. For example, with B<pow>(), one "
6667 "sees this behavior when the absolute value of I<y> is greater than about "
6671 #. FIXME . Actually, 2.3.2 is the earliest test result I have; so yet
6672 #. to confirm if this error occurs only in 2.3.2.
6674 #: build/C/man3/pow.3:365
6676 "In version 2.3.2 and earlier, when an overflow or underflow error occurs, "
6677 "glibc's B<pow>() generates a bogus invalid floating-point exception "
6678 "(B<FE_INVALID>) in addition to the overflow or underflow exception."
6682 #: build/C/man3/pow.3:369
6683 msgid "B<cbrt>(3), B<cpow>(3), B<sqrt>(3)"
6687 #: build/C/man3/pow10.3:25
6693 #: build/C/man3/pow10.3:28
6694 msgid "pow10, pow10f, pow10l - base-10 power functions"
6698 #: build/C/man3/pow10.3:32 build/C/man3/sincos.3:16
6701 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
6702 "B<#include E<lt>math.hE<gt>>\n"
6706 #: build/C/man3/pow10.3:34
6708 msgid "B<double pow10(double >I<x>B<);>\n"
6712 #: build/C/man3/pow10.3:36
6714 msgid "B<float pow10f(float >I<x>B<);>\n"
6718 #: build/C/man3/pow10.3:38
6720 msgid "B<long double pow10l(long double >I<x>B<);>\n"
6724 #: build/C/man3/pow10.3:47
6725 msgid "The B<pow10>() function returns the value of 10 raised to the power I<x>."
6729 #: build/C/man3/pow10.3:51
6730 msgid "This is a GNU extension."
6734 #: build/C/man3/pow10.3:54
6735 msgid "These functions are identical to the functions listed under B<exp10>(3)."
6739 #: build/C/man3/pow10.3:57
6740 msgid "B<exp10>(3), B<pow>(3)"
6744 #: build/C/man3/remainder.3:37
6750 #: build/C/man3/remainder.3:41
6752 "drem, dremf, dreml, remainder, remainderf, remainderl - floating-point "
6753 "remainder function"
6757 #: build/C/man3/remainder.3:49
6760 "/* The C99 versions */\n"
6761 "B<double remainder(double >I<x>B<, double >I<y>B<);>\n"
6762 "B<float remainderf(float >I<x>B<, float >I<y>B<);>\n"
6763 "B<long double remainderl(long double >I<x>B<, long double >I<y>B<);>\n"
6767 #: build/C/man3/remainder.3:54
6770 "/* Obsolete synonyms */\n"
6771 "B<double drem(double >I<x>B<, double >I<y>B<);>\n"
6772 "B<float dremf(float >I<x>B<, float >I<y>B<);>\n"
6773 "B<long double dreml(long double >I<x>B<, long double >I<y>B<);>\n"
6777 #: build/C/man3/remainder.3:65
6778 msgid "B<remainder>():"
6782 #: build/C/man3/remainder.3:70
6784 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
6785 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED || _ISOC99_SOURCE || "
6786 "_POSIX_C_SOURCE\\ E<gt>=\\ 200112L;"
6790 #: build/C/man3/remainder.3:77
6791 msgid "B<remainderf>(), B<remainderl>():"
6795 #: build/C/man3/remainder.3:88
6796 msgid "B<drem>(), B<dremf>(), B<dreml>():"
6800 #: build/C/man3/remainder.3:90 build/C/man3/significand.3:35
6801 msgid "_SVID_SOURCE || _BSD_SOURCE"
6805 #: build/C/man3/remainder.3:111
6807 "The B<remainder>() function computes the remainder of dividing I<x> by "
6808 "I<y>. The return value is I<x>-I<n>*I<y>, where I<n> is the value I<x\\ /\\ "
6809 "y>, rounded to the nearest integer. If the absolute value of I<x>-I<n>*I<y> "
6810 "is 0.5, I<n> is chosen to be even."
6814 #: build/C/man3/remainder.3:114
6816 "These functions are unaffected by the current rounding mode (see "
6821 #: build/C/man3/remainder.3:118
6822 msgid "The B<drem>() function does precisely the same thing."
6826 #: build/C/man3/remainder.3:124
6828 "On success, these functions return the floating-point remainder, "
6829 "I<x>-I<n>*I<y>. If the return value is 0, it has the sign of I<x>."
6833 #: build/C/man3/remainder.3:139 build/C/man3/remquo.3:92
6835 "If I<x> is an infinity, and I<y> is not a NaN, a domain error occurs, and a "
6840 #: build/C/man3/remainder.3:150 build/C/man3/remquo.3:101
6842 "If I<y> is zero, and I<x> is not a NaN, a domain error occurs, and a NaN is "
6847 #: build/C/man3/remainder.3:157
6849 msgid "Domain error: I<x> is an infinity and I<y> is not a NaN"
6854 #: build/C/man3/remainder.3:188
6856 "The functions B<remainder>(), B<remainderf>(), and B<remainderl>() are "
6857 "specified in C99 and POSIX.1-2001."
6861 #: build/C/man3/remainder.3:204
6863 "The function B<drem>() is from 4.3BSD. The I<float> and I<long double> "
6864 "variants B<dremf>() and B<dreml>() exist on some systems, such as Tru64 "
6865 "and glibc2. Avoid the use of these functions in favor of B<remainder>() "
6870 #: build/C/man3/remainder.3:206
6875 #: build/C/man3/remainder.3:208
6877 msgid " remainder(nan(\"\"), 0);\n"
6880 #. FIXME . this bug occurs as at glibc 2.8.
6881 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6779
6883 #: build/C/man3/remainder.3:213
6885 "returns a NaN, as expected, but wrongly causes a domain error; it should "
6886 "yield a silent NaN."
6890 #: build/C/man3/remainder.3:215
6891 msgid "The call \"remainder(29.0, 3.0)\" returns -1."
6895 #: build/C/man3/remainder.3:219
6896 msgid "B<div>(3), B<fmod>(3), B<remquo>(3)"
6900 #: build/C/man3/remquo.3:12
6906 #: build/C/man3/remquo.3:15
6907 msgid "remquo, remquof, remquol - remainder and part of quotient"
6911 #: build/C/man3/remquo.3:20
6913 msgid "B<double remquo(double >I<x>B<, double >I<y>B<, int *>I<quo>B<);>\n"
6917 #: build/C/man3/remquo.3:22
6919 msgid "B<float remquof(float >I<x>B<, float >I<y>B<, int *>I<quo>B<);>\n"
6923 #: build/C/man3/remquo.3:24
6926 "B<long double remquol(long double >I<x>B<, long double >I<y>B<, int "
6931 #: build/C/man3/remquo.3:37
6932 msgid "B<remquo>(), B<remquof>(), B<remquol>():"
6936 #: build/C/man3/remquo.3:55
6938 "These functions compute the remainder and part of the quotient upon division "
6939 "of I<x> by I<y>. A few bits of the quotient are stored via the I<quo> "
6940 "pointer. The remainder is returned as the function result."
6944 #: build/C/man3/remquo.3:59
6946 "The value of the remainder is the same as that computed by the "
6947 "B<remainder>(3) function."
6951 #: build/C/man3/remquo.3:65
6953 "The value stored via the I<quo> pointer has the sign of I<x\\ /\\ y> and "
6954 "agrees with the quotient in at least the low order 3 bits."
6957 #. A possible application of this function might be the computation
6958 #. of sin(x). Compute remquo(x, pi/2, &quo) or so.
6960 #. glibc, UnixWare: return 3 bits
6961 #. MacOS 10: return 7 bits
6963 #: build/C/man3/remquo.3:73
6965 "For example, I<remquo(29.0,\\ 3.0)> returns -1.0 and might store 2. Note "
6966 "that the actual quotient might not fit in an integer."
6970 #: build/C/man3/remquo.3:77
6972 "On success, these functions return the same value as the analogous functions "
6973 "described in B<remainder>(3)."
6977 #: build/C/man3/remquo.3:108
6980 "Domain error: I<x> is an infinity or I<y> is 0, and the other argument is "
6985 #: build/C/man3/remquo.3:130
6986 msgid "B<fmod>(3), B<logb>(3), B<remainder>(3)"
6990 #: build/C/man3/rint.3:27
6996 #: build/C/man3/rint.3:31
6998 "nearbyint, nearbyintf, nearbyintl, rint, rintf, rintl - round to nearest "
7003 #: build/C/man3/rint.3:36
7005 msgid "B<double nearbyint(double >I<x>B<);>\n"
7009 #: build/C/man3/rint.3:38
7011 msgid "B<float nearbyintf(float >I<x>B<);>\n"
7015 #: build/C/man3/rint.3:40
7017 msgid "B<long double nearbyintl(long double >I<x>B<);>\n"
7021 #: build/C/man3/rint.3:42
7023 msgid "B<double rint(double >I<x>B<);>\n"
7027 #: build/C/man3/rint.3:44
7029 msgid "B<float rintf(float >I<x>B<);>\n"
7033 #: build/C/man3/rint.3:46
7035 msgid "B<long double rintl(long double >I<x>B<);>\n"
7039 #: build/C/man3/rint.3:59
7040 msgid "B<nearbyint>(), B<nearbyintf>(), B<nearbyintl>():"
7044 #: build/C/man3/rint.3:61
7046 "_XOPEN_SOURCE\\ E<gt>=\\ 600 || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L || "
7051 #: build/C/man3/rint.3:67
7056 #: build/C/man3/rint.3:78
7057 msgid "B<rintf>(), B<rintl>():"
7061 #: build/C/man3/rint.3:95
7063 "The B<nearbyint>() functions round their argument to an integer value in "
7064 "floating-point format, using the current rounding direction (see "
7065 "B<fesetround>(3)) and without raising the I<inexact> exception."
7069 #: build/C/man3/rint.3:105
7071 "The B<rint>() functions do the same, but will raise the I<inexact> "
7072 "exception (B<FE_INEXACT>, checkable via B<fetestexcept>(3)) when the result "
7073 "differs in value from the argument."
7077 #: build/C/man3/rint.3:138
7079 "If you want to store the rounded value in an integer type, you probably want "
7080 "to use one of the functions described in B<lrint>(3) instead."
7084 #: build/C/man3/rint.3:144
7085 msgid "B<ceil>(3), B<floor>(3), B<lrint>(3), B<round>(3), B<trunc>(3)"
7089 #: build/C/man3/round.3:27
7095 #: build/C/man3/round.3:30
7096 msgid "round, roundf, roundl - round to nearest integer, away from zero"
7100 #: build/C/man3/round.3:35
7102 msgid "B<double round(double >I<x>B<);>\n"
7106 #: build/C/man3/round.3:37
7108 msgid "B<float roundf(float >I<x>B<);>\n"
7112 #: build/C/man3/round.3:39
7114 msgid "B<long double roundl(long double >I<x>B<);>\n"
7118 #: build/C/man3/round.3:52
7119 msgid "B<round>(), B<roundf>(), B<roundl>():"
7123 #: build/C/man3/round.3:69
7125 "These functions round I<x> to the nearest integer, but round halfway cases "
7126 "away from zero (regardless of the current rounding direction, see "
7127 "B<fenv>(3)), instead of to the nearest even integer like B<rint>(3)."
7131 #: build/C/man3/round.3:75
7132 msgid "For example, I<round(0.5)> is 1.0, and I<round(-0.5)> is -1.0."
7136 #: build/C/man3/round.3:96
7137 msgid "The B<round>(), B<roundf>(), and B<roundl>() functions are thread-safe."
7140 #. The POSIX.1-2001 APPLICATION USAGE SECTION discusses this point.
7142 #: build/C/man3/round.3:114
7144 "POSIX.1-2001 contains text about overflow (which might set I<errno> to "
7145 "B<ERANGE>, or raise an B<FE_OVERFLOW> exception). In practice, the result "
7146 "cannot overflow on any current machine, so this error-handling stuff is just "
7147 "nonsense. (More precisely, overflow can happen only when the maximum value "
7148 "of the exponent is smaller than the number of mantissa bits. For the "
7149 "IEEE-754 standard 32-bit and 64-bit floating-point numbers the maximum value "
7150 "of the exponent is 128 (respectively, 1024), and the number of mantissa bits "
7151 "is 24 (respectively, 53).)"
7155 #: build/C/man3/round.3:119
7157 "If you want to store the rounded value in an integer type, you probably want "
7158 "to use one of the functions described in B<lround>(3) instead."
7162 #: build/C/man3/round.3:126
7164 "B<ceil>(3), B<floor>(3), B<lround>(3), B<nearbyint>(3), B<rint>(3), "
7169 #: build/C/man3/scalb.3:27
7175 #: build/C/man3/scalb.3:27
7181 #: build/C/man3/scalb.3:31
7183 "scalb, scalbf, scalbl - multiply floating-point number by integral power of "
7188 #: build/C/man3/scalb.3:35
7189 msgid "B<double scalb(double >I<x>B<, double >I<exp>B<);>"
7193 #: build/C/man3/scalb.3:37
7194 msgid "B<float scalbf(float >I<x>B<, float >I<exp>B<);>"
7198 #: build/C/man3/scalb.3:39
7199 msgid "B<long double scalbl(long double >I<x>B<, long double >I<exp>B<);>"
7203 #: build/C/man3/scalb.3:49
7208 #: build/C/man3/scalb.3:52
7210 "_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || "
7211 "_XOPEN_SOURCE\\ &&\\ _XOPEN_SOURCE_EXTENDED"
7215 #: build/C/man3/scalb.3:56
7216 msgid "B<scalbf>(), B<scalbl>():"
7220 #: build/C/man3/scalb.3:69 build/C/man3/scalbln.3:85
7222 "These functions multiply their first argument I<x> by B<FLT_RADIX> (probably "
7223 "2) to the power of I<exp>, that is:"
7227 #: build/C/man3/scalb.3:72 build/C/man3/scalbln.3:88
7229 msgid " x * FLT_RADIX ** exp\n"
7232 #. not in /usr/include but in a gcc lib
7234 #: build/C/man3/scalb.3:79 build/C/man3/scalbln.3:95
7236 "The definition of B<FLT_RADIX> can be obtained by including "
7237 "I<E<lt>float.hE<gt>>."
7241 #: build/C/man3/scalb.3:86 build/C/man3/scalbln.3:102
7242 msgid "On success, these functions return I<x> * B<FLT_RADIX> ** I<exp>."
7246 #: build/C/man3/scalb.3:92
7247 msgid "If I<x> or I<exp> is a NaN, a NaN is returned."
7251 #: build/C/man3/scalb.3:100
7253 "If I<x> is positive infinity (negative infinity), and I<exp> is not negative "
7254 "infinity, positive infinity (negative infinity) is returned."
7258 #: build/C/man3/scalb.3:106
7260 "If I<x> is +0 (-0), and I<exp> is not positive infinity, +0 (-0) is "
7265 #: build/C/man3/scalb.3:114
7267 "If I<x> is zero, and I<exp> is positive infinity, a domain error occurs, and "
7268 "a NaN is returned."
7272 #: build/C/man3/scalb.3:123
7274 "If I<x> is an infinity, and I<exp> is negative infinity, a domain error "
7275 "occurs, and a NaN is returned."
7279 #: build/C/man3/scalb.3:138 build/C/man3/scalbln.3:130
7281 "If the result underflows, a range error occurs, and the functions return "
7282 "zero, with a sign the same as I<x>."
7286 #: build/C/man3/scalb.3:145
7289 "Domain error: I<x> is 0, and I<exp> is positive infinity, or I<x> is "
7290 "positive infinity and I<exp> is negative infinity and the other argument is "
7295 #: build/C/man3/scalb.3:191
7297 "B<scalb>() is specified in POSIX.1-2001, but marked obsolescent. "
7298 "POSIX.1-2008 removes the specification of B<scalb>(), recommending the use "
7299 "of B<scalbln>(3), B<scalblnf>(3), or B<scalblnl>(3) instead. The "
7300 "B<scalb>() function is from 4.3BSD."
7303 #. Looking at header files: scalbf() is present on the
7304 #. BSDs, Tru64, HP-UX 11, Irix 6.5; scalbl() is on HP-UX 11 and Tru64.
7306 #: build/C/man3/scalb.3:200
7308 "B<scalbf>() and B<scalbl>() are unstandardized; B<scalbf>() is "
7309 "nevertheless present on several other systems"
7313 #: build/C/man3/scalb.3:203
7314 msgid "B<ldexp>(3), B<scalbln>(3)"
7318 #: build/C/man3/scalbln.3:27
7324 #: build/C/man3/scalbln.3:31
7326 "scalbn, scalbnf, scalbnl, scalbln, scalblnf, scalblnl - multiply "
7327 "floating-point number by integral power of radix"
7331 #: build/C/man3/scalbln.3:35
7332 msgid "B<double scalbln(double >I<x>B<, long int >I<exp>B<);>"
7336 #: build/C/man3/scalbln.3:37
7337 msgid "B<float scalblnf(float >I<x>B<, long int >I<exp>B<);>"
7341 #: build/C/man3/scalbln.3:39
7342 msgid "B<long double scalblnl(long double >I<x>B<, long int >I<exp>B<);>"
7346 #: build/C/man3/scalbln.3:41
7347 msgid "B<double scalbn(double >I<x>B<, int >I<exp>B<);>"
7351 #: build/C/man3/scalbln.3:43
7352 msgid "B<float scalbnf(float >I<x>B<, int >I<exp>B<);>"
7356 #: build/C/man3/scalbln.3:45
7357 msgid "B<long double scalbnl(long double >I<x>B<, int >I<exp>B<);>"
7361 #: build/C/man3/scalbln.3:57
7362 msgid "B<scalbln>(), B<scalblnf>(), B<scalblnl>():"
7366 #: build/C/man3/scalbln.3:68
7367 msgid "B<scalbn>(), B<scalbnf>(), B<scalbnl>():"
7371 #: build/C/man3/scalbln.3:171
7373 "The B<scalbn>(), B<scalbnf>(), B<scalbnl>(), B<scalbln>(), B<scalblnf>(), "
7374 "and B<scalblnl>() functions are thread-safe."
7378 #: build/C/man3/scalbln.3:182
7380 "These functions differ from the obsolete functions described in B<scalb>(3) "
7381 "in the type of their second argument. The functions described on this page "
7382 "have a second argument of an integral type, while those in B<scalb>(3) have "
7383 "a second argument of type I<double>."
7387 #: build/C/man3/scalbln.3:189
7389 "If B<FLT_RADIX> equals 2 (which is usual), then B<scalbn>() is equivalent "
7394 #: build/C/man3/scalbln.3:192
7395 msgid "B<ldexp>(3), B<scalb>(3)"
7399 #: build/C/man3/signbit.3:11
7405 #: build/C/man3/signbit.3:11
7411 #: build/C/man3/signbit.3:14
7412 msgid "signbit - test sign of a real floating-point number"
7416 #: build/C/man3/signbit.3:18
7417 msgid "B<int signbit(>I<x>B<);>"
7421 #: build/C/man3/signbit.3:28
7422 msgid "B<signbit>():"
7426 #: build/C/man3/signbit.3:42
7428 "B<signbit>() is a generic macro which can work on all real floating-point "
7429 "types. It returns a nonzero value if the value of I<x> has its sign bit "
7434 #: build/C/man3/signbit.3:51
7436 "This is not the same as I<x E<lt> 0.0>, because IEEE 754 floating point "
7437 "allows zero to be signed. The comparison I<-0.0 E<lt> 0.0> is false, but "
7438 "I<signbit(-0.0)> will return a nonzero value."
7442 #: build/C/man3/signbit.3:53
7443 msgid "NaNs and infinities have a sign bit."
7447 #: build/C/man3/signbit.3:59
7449 "The B<signbit>() macro returns nonzero if the sign of I<x> is negative; "
7450 "otherwise it returns zero."
7454 #: build/C/man3/signbit.3:66
7455 msgid "The B<signbit>() macro is thread-safe."
7459 #: build/C/man3/signbit.3:72
7460 msgid "B<copysign>(3)"
7464 #: build/C/man3/significand.3:9
7470 #: build/C/man3/significand.3:9
7476 #: build/C/man3/significand.3:13
7478 "significand, significandf, significandl - get mantissa of floating-point "
7483 #: build/C/man3/significand.3:17
7484 msgid "B<double significand(double >I<x>B<);>"
7488 #: build/C/man3/significand.3:19
7489 msgid "B<float significandf(float >I<x>B<);>"
7493 #: build/C/man3/significand.3:21
7494 msgid "B<long double significandl(long double >I<x>B<);>"
7498 #: build/C/man3/significand.3:33
7499 msgid "B<significand>(), B<significandf>(), B<significandl>():"
7503 #: build/C/man3/significand.3:44
7505 "The B<significand>() function returns the mantissa of I<x> scaled to the "
7506 "range [1,2). It is equivalent to"
7510 #: build/C/man3/significand.3:47
7511 msgid "scalb(x, (double) -ilogb(x))"
7515 #: build/C/man3/significand.3:51
7517 "This function exists mainly for use in certain standardized tests for IEEE "
7522 #. This function came from BSD.
7524 #: build/C/man3/significand.3:57
7526 "These functions are nonstandard; the I<double> version is available on a "
7527 "number of other systems."
7531 #: build/C/man3/significand.3:60
7532 msgid "B<ilogb>(3), B<scalb>(3)"
7536 #: build/C/man3/sin.3:35
7542 #: build/C/man3/sin.3:38
7543 msgid "sin, sinf, sinl - sine function"
7547 #: build/C/man3/sin.3:43
7549 msgid "B<double sin(double >I<x>B<);>\n"
7553 #: build/C/man3/sin.3:45
7555 msgid "B<float sinf(float >I<x>B<);>\n"
7559 #: build/C/man3/sin.3:47
7561 msgid "B<long double sinl(long double >I<x>B<);>\n"
7565 #: build/C/man3/sin.3:59
7566 msgid "B<sinf>(), B<sinl>():"
7570 #: build/C/man3/sin.3:76
7572 "The B<sin>() function returns the sine of I<x>, where I<x> is given in "
7577 #: build/C/man3/sin.3:79
7578 msgid "On success, these functions return the sine of I<x>."
7582 #: build/C/man3/sin.3:130
7584 "B<acos>(3), B<asin>(3), B<atan>(3), B<atan2>(3), B<cos>(3), B<csin>(3), "
7585 "B<sincos>(3), B<tan>(3)"
7589 #: build/C/man3/sincos.3:9
7595 #: build/C/man3/sincos.3:12
7596 msgid "sincos, sincosf, sincosl - calculate sin and cos simultaneously"
7600 #: build/C/man3/sincos.3:18
7602 msgid "B<void sincos(double >I<x>B<, double *>I<sin>B<, double *>I<cos>B<);>\n"
7606 #: build/C/man3/sincos.3:20
7608 msgid "B<void sincosf(float >I<x>B<, float *>I<sin>B<, float *>I<cos>B<);>\n"
7612 #: build/C/man3/sincos.3:22
7615 "B<void sincosl(long double >I<x>B<, long double *>I<sin>B<, long double "
7620 #: build/C/man3/sincos.3:32
7622 "Several applications need sine and cosine of the same angle I<x>. This "
7623 "function computes both at the same time, and stores the results in I<*sin> "
7628 #: build/C/man3/sincos.3:40
7629 msgid "If I<x> is a NaN, a NaN is returned in I<*sin> and I<*cos>."
7633 #: build/C/man3/sincos.3:49
7635 "If I<x> is positive infinity or negative infinity, a domain error occurs, "
7636 "and a NaN is returned in I<*sin> and I<*cos>."
7640 #: build/C/man3/sincos.3:52
7641 msgid "These functions return I<void>."
7645 #: build/C/man3/sincos.3:77
7646 msgid "This function is a GNU extension."
7650 #: build/C/man3/sincos.3:81
7651 msgid "B<cos>(3), B<sin>(3), B<tan>(3)"
7655 #: build/C/man3/sinh.3:36
7661 #: build/C/man3/sinh.3:39
7662 msgid "sinh, sinhf, sinhl - hyperbolic sine function"
7666 #: build/C/man3/sinh.3:44
7668 msgid "B<double sinh(double >I<x>B<);>\n"
7672 #: build/C/man3/sinh.3:46
7674 msgid "B<float sinhf(float >I<x>B<);>\n"
7678 #: build/C/man3/sinh.3:48
7680 msgid "B<long double sinhl(long double >I<x>B<);>\n"
7684 #: build/C/man3/sinh.3:60
7685 msgid "B<sinhf>(), B<sinhl>():"
7689 #: build/C/man3/sinh.3:75
7691 "The B<sinh>() function returns the hyperbolic sine of I<x>, which is "
7692 "defined mathematically as:"
7696 #: build/C/man3/sinh.3:78
7698 msgid " sinh(x) = (exp(x) - exp(-x)) / 2\n"
7702 #: build/C/man3/sinh.3:82
7703 msgid "On success, these functions return the hyperbolic sine of I<x>."
7707 #. POSIX.1-2001 documents an optional range error (underflow)
7709 #. glibc 2.8 does not do this.
7711 #: build/C/man3/sinh.3:109
7713 "If the result overflows, a range error occurs, and the functions return "
7714 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the same sign "
7719 #: build/C/man3/sinh.3:137
7720 msgid "B<acosh>(3), B<asinh>(3), B<atanh>(3), B<cosh>(3), B<csinh>(3), B<tanh>(3)"
7724 #: build/C/man3/sqrt.3:34
7730 #: build/C/man3/sqrt.3:37
7731 msgid "sqrt, sqrtf, sqrtl - square root function"
7735 #: build/C/man3/sqrt.3:42
7737 msgid "B<double sqrt(double >I<x>B<);>\n"
7741 #: build/C/man3/sqrt.3:44
7743 msgid "B<float sqrtf(float >I<x>B<);>\n"
7747 #: build/C/man3/sqrt.3:46
7749 msgid "B<long double sqrtl(long double >I<x>B<);>\n"
7753 #: build/C/man3/sqrt.3:58
7754 msgid "B<sqrtf>(), B<sqrtl>():"
7758 #: build/C/man3/sqrt.3:71
7759 msgid "The B<sqrt>() function returns the nonnegative square root of I<x>."
7763 #: build/C/man3/sqrt.3:74
7764 msgid "On success, these functions return the square root of I<x>."
7768 #: build/C/man3/sqrt.3:92
7769 msgid "If I<x> is less than -0, a domain error occurs, and a NaN is returned."
7773 #: build/C/man3/sqrt.3:99
7775 msgid "Domain error: I<x> less than -0"
7779 #: build/C/man3/sqrt.3:117
7780 msgid "B<cbrt>(3), B<csqrt>(3), B<hypot>(3)"
7784 #: build/C/man3/tan.3:35
7790 #: build/C/man3/tan.3:38
7791 msgid "tan, tanf, tanl - tangent function"
7795 #: build/C/man3/tan.3:43
7797 msgid "B<double tan(double >I<x>B<);>\n"
7801 #: build/C/man3/tan.3:45
7803 msgid "B<float tanf(float >I<x>B<);>\n"
7807 #: build/C/man3/tan.3:47
7809 msgid "B<long double tanl(long double >I<x>B<);>\n"
7813 #: build/C/man3/tan.3:59
7814 msgid "B<tanf>(), B<tanl>():"
7818 #: build/C/man3/tan.3:76
7820 "The B<tan>() function returns the tangent of I<x>, where I<x> is given in "
7825 #: build/C/man3/tan.3:79
7826 msgid "On success, these functions return the tangent of I<x>."
7829 #. I think overflow can't occur, because the closest floating-point
7830 #. representation of pi/2 is still not close enough to pi/2 to
7831 #. produce a large enough value to overflow.
7832 #. Testing certainly seems to bear this out. -- mtk, Jul 08
7834 #. POSIX.1 allows an optional underflow error;
7835 #. glibc 2.8 doesn't do this
7836 #. POSIX.1 an optional range error for subnormal x;
7837 #. glibc 2.8 doesn't do this
7839 #: build/C/man3/tan.3:107
7841 "If the correct result would overflow, a range error occurs, and the "
7842 "functions return B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, "
7843 "with the mathematically correct sign."
7847 #: build/C/man3/tan.3:154
7849 "B<acos>(3), B<asin>(3), B<atan>(3), B<atan2>(3), B<cos>(3), B<ctan>(3), "
7854 #: build/C/man3/tanh.3:35
7860 #: build/C/man3/tanh.3:38
7861 msgid "tanh, tanhf, tanhl - hyperbolic tangent function"
7865 #: build/C/man3/tanh.3:43
7867 msgid "B<double tanh(double >I<x>B<);>\n"
7871 #: build/C/man3/tanh.3:45
7873 msgid "B<float tanhf(float >I<x>B<);>\n"
7877 #: build/C/man3/tanh.3:47
7879 msgid "B<long double tanhl(long double >I<x>B<);>\n"
7883 #: build/C/man3/tanh.3:59
7884 msgid "B<tanhf>(), B<tanhl>():"
7888 #: build/C/man3/tanh.3:74
7890 "The B<tanh>() function returns the hyperbolic tangent of I<x>, which is "
7891 "defined mathematically as:"
7895 #: build/C/man3/tanh.3:77
7897 msgid " tanh(x) = sinh(x) / cosh(x)\n"
7901 #: build/C/man3/tanh.3:81
7902 msgid "On success, these functions return the hyperbolic tangent of I<x>."
7906 #: build/C/man3/tanh.3:113
7907 msgid "B<acosh>(3), B<asinh>(3), B<atanh>(3), B<cosh>(3), B<ctanh>(3), B<sinh>(3)"
7911 #: build/C/man3/tgamma.3:13
7917 #: build/C/man3/tgamma.3:16
7918 msgid "tgamma, tgammaf, tgammal - true gamma function"
7922 #: build/C/man3/tgamma.3:20
7923 msgid "B<double tgamma(double >I<x>B<);>"
7927 #: build/C/man3/tgamma.3:22
7928 msgid "B<float tgammaf(float >I<x>B<);>"
7932 #: build/C/man3/tgamma.3:24
7933 msgid "B<long double tgammal(long double >I<x>B<);>"
7937 #: build/C/man3/tgamma.3:36
7938 msgid "B<tgamma>(), B<tgammaf>(), B<tgammal>():"
7942 #: build/C/man3/tgamma.3:46
7943 msgid "The Gamma function is defined by"
7947 #: build/C/man3/tgamma.3:48
7949 msgid " Gamma(x) = integral from 0 to infinity of t^(x-1) e^-t dt\n"
7953 #: build/C/man3/tgamma.3:53
7955 "It is defined for every real number except for nonpositive integers. For "
7956 "nonnegative integral I<m> one has"
7960 #: build/C/man3/tgamma.3:55
7962 msgid " Gamma(m+1) = m!\n"
7966 #: build/C/man3/tgamma.3:58
7967 msgid "and, more generally, for all I<x>:"
7971 #: build/C/man3/tgamma.3:60
7973 msgid " Gamma(x+1) = x * Gamma(x)\n"
7977 #: build/C/man3/tgamma.3:64
7979 "Furthermore, the following is valid for all values of I<x> outside the "
7984 #: build/C/man3/tgamma.3:66
7986 msgid " Gamma(x) * Gamma(1 - x) = PI / sin(PI * x)\n"
7990 #: build/C/man3/tgamma.3:69
7991 msgid "On success, these functions return Gamma(x)."
7995 #: build/C/man3/tgamma.3:83
7997 "If I<x> is a negative integer, or is negative infinity, a domain error "
7998 "occurs, and a NaN is returned."
8002 #: build/C/man3/tgamma.3:96
8004 "If the result underflows, a range error occurs, and the functions return 0, "
8005 "with the correct mathematical sign."
8009 #: build/C/man3/tgamma.3:107
8011 "If I<x> is -0 or +0, a pole error occurs, and the functions return "
8012 "B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, respectively, with the same sign "
8017 #: build/C/man3/tgamma.3:114
8019 msgid "Domain error: I<x> is a negative integer, or negative infinity"
8022 #. FIXME . errno is not set to EDOM for x == -inf
8023 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
8025 #: build/C/man3/tgamma.3:124
8027 "I<errno> is set to B<EDOM>. An invalid floating-point exception "
8028 "(B<FE_INVALID>) is raised (but see BUGS)."
8032 #: build/C/man3/tgamma.3:124
8034 msgid "Pole error: I<x> is +0 or -0"
8038 #: build/C/man3/tgamma.3:143
8040 "glibc also gives the following error which is not specified in C99 or "
8044 #. FIXME . Is it intentional that errno is not set:
8045 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6810
8047 #. glibc (as at 2.8) also supports and an inexact
8048 #. exception for various cases.
8050 #: build/C/man3/tgamma.3:160
8051 msgid "I<errno> is not set for this case."
8055 #: build/C/man3/tgamma.3:171
8057 "This function had to be called \"true gamma function\" since there is "
8058 "already a function B<gamma>(3) that returns something else (see B<gamma>(3) "
8062 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
8064 #: build/C/man3/tgamma.3:179
8066 "If I<x> is negative infinity, I<errno> is not set (it should be set to "
8071 #: build/C/man3/tgamma.3:188
8073 "In glibc versions 2.3.3 and earlier, an argument of +0 or -0 incorrectly "
8074 "produced a domain error (I<errno> set to B<EDOM> and an B<FE_INVALID> "
8075 "exception raised), rather than a pole error."
8079 #: build/C/man3/tgamma.3:191
8080 msgid "B<gamma>(3), B<lgamma>(3)"
8084 #: build/C/man3/trunc.3:25
8090 #: build/C/man3/trunc.3:28
8091 msgid "trunc, truncf, truncl - round to integer, toward zero"
8095 #: build/C/man3/trunc.3:33
8097 msgid "B<double trunc(double >I<x>B<);>\n"
8101 #: build/C/man3/trunc.3:35
8103 msgid "B<float truncf(float >I<x>B<);>\n"
8107 #: build/C/man3/trunc.3:37
8109 msgid "B<long double truncl(long double >I<x>B<);>\n"
8113 #: build/C/man3/trunc.3:50
8114 msgid "B<trunc>(), B<truncf>(), B<truncl>():"
8118 #: build/C/man3/trunc.3:63
8120 "These functions round I<x> to the nearest integer not larger in absolute "
8125 #: build/C/man3/trunc.3:71
8126 msgid "If I<x> is integral, infinite, or NaN, I<x> itself is returned."
8130 #: build/C/man3/trunc.3:83
8131 msgid "The B<trunc>(), B<truncf>(), and B<truncl>() functions are thread-safe."
8135 #: build/C/man3/y0.3:36
8141 #: build/C/man3/y0.3:36
8147 #: build/C/man3/y0.3:40
8149 "y0, y0f, y0l, y1, y1f, y1l, yn, ynf, ynl - Bessel functions of the second "
8154 #: build/C/man3/y0.3:45
8156 msgid "B<double y0(double >I<x>B<);>\n"
8160 #: build/C/man3/y0.3:47
8162 msgid "B<double y1(double >I<x>B<);>\n"
8166 #: build/C/man3/y0.3:49
8168 msgid "B<double yn(int >I<n>B<, double >I<x>B<);>\n"
8172 #: build/C/man3/y0.3:51
8174 msgid "B<float y0f(float >I<x>B<);>\n"
8178 #: build/C/man3/y0.3:53
8180 msgid "B<float y1f(float >I<x>B<);>\n"
8184 #: build/C/man3/y0.3:55
8186 msgid "B<float ynf(int >I<n>B<, float >I<x>B<);>\n"
8190 #: build/C/man3/y0.3:57
8192 msgid "B<long double y0l(long double >I<x>B<);>\n"
8196 #: build/C/man3/y0.3:59
8198 msgid "B<long double y1l(long double >I<x>B<);>\n"
8202 #: build/C/man3/y0.3:61
8204 msgid "B<long double ynl(int >I<n>B<, long double >I<x>B<);>\n"
8208 #: build/C/man3/y0.3:74
8209 msgid "B<y0>(), B<y1>(), B<yn>():"
8213 #: build/C/man3/y0.3:84
8214 msgid "B<y0f>(), B<y0l>(), B<y1f>(), B<y1l>(), B<ynf>(), B<ynl>():"
8218 #: build/C/man3/y0.3:105
8220 "The B<y0>() and B<y1>() functions return Bessel functions of I<x> of the "
8221 "second kind of orders 0 and 1, respectively. The B<yn>() function returns "
8222 "the Bessel function of I<x> of the second kind of order I<n>."
8226 #: build/C/man3/y0.3:109
8227 msgid "The value of I<x> must be positive."
8231 #: build/C/man3/y0.3:119
8233 "The B<y0f>() etc. and B<y0l>() etc. functions are versions that take and "
8234 "return I<float> and I<long double> values, respectively."
8238 #: build/C/man3/y0.3:123
8240 "On success, these functions return the appropriate Bessel value of the "
8241 "second kind for I<x>."
8245 #: build/C/man3/y0.3:139
8247 "If I<x> is negative, a domain error occurs, and the functions return "
8248 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively. (POSIX.1-2001 "
8249 "also allows a NaN return for this case.)"
8253 #: build/C/man3/y0.3:150
8255 "If I<x> is 0.0, a pole error occurs, and the functions return -B<HUGE_VAL>, "
8256 "-B<HUGE_VALF>, or -B<HUGE_VALL>, respectively."
8260 #: build/C/man3/y0.3:154
8261 msgid "If the result underflows, a range error occurs, and the functions return 0.0"
8265 #: build/C/man3/y0.3:164
8267 "If the result overflows, a range error occurs, and the functions return "
8268 "-B<HUGE_VAL>, -B<HUGE_VALF>, or -B<HUGE_VALL>, respectively. (POSIX.1-2001 "
8269 "also allows a 0.0 return for this case.)"
8273 #: build/C/man3/y0.3:179
8275 msgid "Pole error: I<x> is 0.0"
8278 #. Before POSIX.1-2001 TC2, this was (inconsistently) specified
8279 #. as a range error.
8280 #. FIXME . y0(0.0) gives EDOM
8281 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
8283 #: build/C/man3/y0.3:194
8285 "I<errno> is set to B<ERANGE> (but see BUGS). No B<FE_DIVBYZERO> exception "
8286 "is returned by B<fetestexcept>(3) for this case."
8289 #. e.g., y0(1e33) on glibc 2.8/x86-32
8290 #. An underflow floating-point exception
8291 #. .RB ( FE_UNDERFLOW )
8293 #. FIXME . Is it intentional that these functions do not use FE_*?
8294 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6806
8296 #: build/C/man3/y0.3:210
8298 "I<errno> is set to B<ERANGE>. No B<FE_UNDERFLOW> exception is returned by "
8299 "B<fetestexcept>(3) for this case."
8302 #. e.g., yn(10, 1e-40) on glibc 2.8/x86-32
8306 #. FIXME . Is it intentional that errno is not set?
8307 #. Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
8309 #: build/C/man3/y0.3:223
8311 "I<errno> is not set for this case. An overflow floating-point exception "
8312 "(B<FE_OVERFLOW>) is raised."
8316 #. Bug raised: http://sourceware.org/bugzilla/show_bug.cgi?id=6807
8318 #: build/C/man3/y0.3:239
8320 "On a pole error, these functions set I<errno> to B<EDOM>, instead of "
8321 "B<ERANGE> as POSIX.1-2004 requires."
8324 #. FIXME . Actually, 2.3.2 is the earliest test result I have; so yet
8325 #. to confirm if this error occurs only in 2.3.2.
8327 #: build/C/man3/y0.3:246
8329 "In glibc version 2.3.2 and earlier, these functions do not raise an invalid "
8330 "floating-point exception (B<FE_INVALID>) when a domain error occurs."
8334 #: build/C/man3/y0.3:248