Debian Codegraph @

po/es/man7/math_error.7.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.11.0\n"
7 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
8 "PO-Revision-Date: 2021-09-03 20:32+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Spanish <[email protected]>\n"
11 "Language: es\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17 #. type: TH
18 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
19 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
20 #, no-wrap
21 msgid "math_error"
22 msgstr ""
23
24 #. type: TH
25 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
26 #: opensuse-tumbleweed
27 #, no-wrap
28 msgid "2025-05-17"
29 msgstr "17 Mayo 2025"
30
31 #. type: TH
32 #: archlinux debian-unstable
33 #, fuzzy, no-wrap
34 #| msgid "Linux man-pages 6.17"
35 msgid "Linux man-pages 6.18"
36 msgstr "Páginas de Manual de Linux 6.17"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NOMBRE"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "math_error - detecting errors from mathematical functions"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "SYNOPSIS"
56 msgstr "SINOPSIS"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid ""
63 "B<#include E<lt>math.hE<gt>>\n"
64 "B<#include E<lt>errno.hE<gt>>\n"
65 "B<#include E<lt>fenv.hE<gt>>\n"
66 msgstr ""
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "DESCRIPTION"
73 msgstr "DESCRIPCIÓN"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 msgid ""
79 "When an error occurs, most library functions indicate this fact by returning "
80 "a special value (e.g., -1 or NULL). Because they typically return a "
81 "floating-point number, the mathematical functions declared in "
82 "I<E<lt>math.hE<gt>> indicate an error using other mechanisms. There are two "
83 "error-reporting mechanisms: the older one sets I<errno>; the newer one uses "
84 "the floating-point exception mechanism (the use of B<feclearexcept>(3) and "
85 "B<fetestexcept>(3), as outlined below) described in B<fenv>(3)."
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 msgid ""
92 "A portable program that needs to check for an error from a mathematical "
93 "function should set I<errno> to zero, and make the following call"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 #, no-wrap
100 msgid "feclearexcept(FE_ALL_EXCEPT);\n"
101 msgstr ""
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid "before calling a mathematical function."
107 msgstr ""
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid ""
113 "Upon return from the mathematical function, if I<errno> is nonzero, or the "
114 "following call (see B<fenv>(3)) returns nonzero"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid ""
122 "fetestexcept(FE_INVALID | FE_DIVBYZERO | FE_OVERFLOW |\n"
123 " FE_UNDERFLOW);\n"
124 msgstr ""
125
126 #. enum
127 #. {
128 #. FE_INVALID = 0x01,
129 #. __FE_DENORM = 0x02,
130 #. FE_DIVBYZERO = 0x04,
131 #. FE_OVERFLOW = 0x08,
132 #. FE_UNDERFLOW = 0x10,
133 #. FE_INEXACT = 0x20
134 #. };
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid "then an error occurred in the mathematical function."
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "The error conditions that can occur for mathematical functions are described "
146 "below."
147 msgstr ""
148
149 #. type: SS
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid "Domain error"
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "A I<domain error> occurs when a mathematical function is supplied with an "
161 "argument whose value falls outside the domain for which the function is "
162 "defined (e.g., giving a negative argument to B<log>(3)). When a domain "
163 "error occurs, math functions commonly return a NaN (though some functions "
164 "return a different value in this case); I<errno> is set to B<EDOM>, and an "
165 "\"invalid\" (B<FE_INVALID>) floating-point exception is raised."
166 msgstr ""
167
168 #. type: SS
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "Pole error"
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "A I<pole error> occurs when the mathematical result of a function is an "
180 "exact infinity (e.g., the logarithm of 0 is negative infinity). When a pole "
181 "error occurs, the function returns the (signed) value B<HUGE_VAL>, "
182 "B<HUGE_VALF>, or B<HUGE_VALL>, depending on whether the function result type "
183 "is I<double>, I<float>, or I<long double>. The sign of the result is that "
184 "which is mathematically correct for the function. I<errno> is set to "
185 "B<ERANGE>, and a \"divide-by-zero\" (B<FE_DIVBYZERO>) floating-point "
186 "exception is raised."
187 msgstr ""
188
189 #. type: SS
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "Range error"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "A I<range error> occurs when the magnitude of the function result means that "
201 "it cannot be represented in the result type of the function. The return "
202 "value of the function depends on whether the range error was an overflow or "
203 "an underflow."
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "A floating result I<overflows> if the result is finite, but is too large to "
211 "represented in the result type. When an overflow occurs, the function "
212 "returns the value B<HUGE_VAL>, B<HUGE_VALF>, or B<HUGE_VALL>, depending on "
213 "whether the function result type is I<double>, I<float>, or I<long double>. "
214 "I<errno> is set to B<ERANGE>, and an \"overflow\" (B<FE_OVERFLOW>) floating-"
215 "point exception is raised."
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "A floating result I<underflows> if the result is too small to be represented "
223 "in the result type. If an underflow occurs, a mathematical function "
224 "typically returns 0.0 (C99 says a function shall return \"an implementation-"
225 "defined value whose magnitude is no greater than the smallest normalized "
226 "positive number in the specified type\"). I<errno> may be set to B<ERANGE>, "
227 "and an \"underflow\" (B<FE_UNDERFLOW>) floating-point exception may be "
228 "raised."
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "Some functions deliver a range error if the supplied argument value, or the "
236 "correct function result, would be I<subnormal>. A subnormal value is one "
237 "that is nonzero, but with a magnitude that is so small that it can't be "
238 "presented in normalized form (i.e., with a 1 in the most significant bit of "
239 "the significand). The representation of a subnormal number will contain one "
240 "or more leading zeros in the significand."
241 msgstr ""
242
243 #. type: SH
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "NOTES"
248 msgstr "NOTAS"
249
250 #. See CONFORMANCE in the glibc 2.8 (and earlier) source.
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "The I<math_errhandling> identifier specified by C99 and POSIX.1 is not "
256 "supported by glibc. This identifier is supposed to indicate which of the "
257 "two error-notification mechanisms (I<errno>, exceptions retrievable via "
258 "B<fetestexcept>(3)) is in use. The standards require that at least one be "
259 "in use, but permit both to be available. The current (glibc 2.8) situation "
260 "under glibc is messy. Most (but not all) functions raise exceptions on "
261 "errors. Some also set I<errno>. A few functions set I<errno>, but don't "
262 "raise an exception. A very few functions do neither. See the individual "
263 "manual pages for details."
264 msgstr ""
265
266 #. http://www.securecoding.cert.org/confluence/display/seccode/FLP32-C.+Prevent+or+detect+domain+and+range+errors+in+math+functions
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "To avoid the complexities of using I<errno> and B<fetestexcept>(3) for "
272 "error checking, it is often advised that one should instead check for bad "
273 "argument values before each call. For example, the following code ensures "
274 "that B<log>(3)'s argument is not a NaN and is not zero (a pole error) or "
275 "less than zero (a domain error):"
276 msgstr ""
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid ""
283 "double x, r;\n"
284 "\\&\n"
285 "if (isnan(x) || islessequal(x, 0)) {\n"
286 " /* Deal with NaN / pole error / domain error */\n"
287 "}\n"
288 "\\&\n"
289 "r = log(x);\n"
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "The discussion on this page does not apply to the complex mathematical "
297 "functions (i.e., those declared by I<E<lt>complex.hE<gt>>), which in general "
298 "are not required to return errors by C99 and POSIX.1."
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "The B<gcc>(1) I<-fno-math-errno> option causes the executable to employ "
306 "implementations of some mathematical functions that are faster than the "
307 "standard implementations, but do not set I<errno> on error. (The B<gcc>(1) "
308 "I<-ffast-math> option also enables I<-fno-math-errno>.) An error can still "
309 "be tested for using B<fetestexcept>(3)."
310 msgstr ""
311
312 #. type: SH
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "SEE ALSO"
317 msgstr "VÉASE TAMBIÉN"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "B<gcc>(1), B<errno>(3), B<fenv>(3), B<fpclassify>(3), B<INFINITY>(3), "
324 "B<isgreater>(3), B<matherr>(3), B<nan>(3)"
325 msgstr ""
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid "I<info libc>"
331 msgstr ""
332
333 #. type: TH
334 #: debian-trixie fedora-44 fedora-rawhide
335 #, no-wrap
336 msgid "2024-05-02"
337 msgstr "2 Mayo 2024"
338
339 #. type: TH
340 #: debian-trixie
341 #, no-wrap
342 msgid "Linux man-pages 6.9.1"
343 msgstr "Páginas de Manual de Linux 6.9.1"
344
345 #. type: TH
346 #: fedora-44 fedora-rawhide
347 #, no-wrap
348 msgid "Linux man-pages 6.13"
349 msgstr "Páginas de Manual de Linux 6.13"
350
351 #. type: TH
352 #: mageia-cauldron
353 #, no-wrap
354 msgid "Linux man-pages 6.17"
355 msgstr "Páginas de Manual de Linux 6.17"
356
357 #. type: TH
358 #: opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "Linux man-pages (unreleased)"
361 msgstr "Páginas de Manual de Linux (no publicadas)"