Debian Codegraph @

templates/man3/matherr.3.pot

raw
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.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "matherr"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-05-17"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "matherr - SVID math library exception handling"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Math library (I<libm>,\\ I<-lm>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>math.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<[[deprecated]] int matherr(struct exception *>I<exc>B<);>\n"
84 msgstr ""
85
86 #. type: Plain text
87 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
88 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid "B<[[deprecated]] extern _LIB_VERSION_TYPE _LIB_VERSION;>\n"
91 msgstr ""
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr ""
99
100 #. glibc commit 813378e9fe17e029caf627cab76fe23eb46815fa
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "I<Note>: the mechanism described in this page is no longer supported by "
106 "glibc. Before glibc 2.27, it had been marked as obsolete. Since glibc "
107 "2.27, the mechanism has been removed altogether. New applications should "
108 "use the techniques described in B<math_error>(7) and B<fenv>(3). This page "
109 "documents the B<matherr>() mechanism as an aid for maintaining and porting "
110 "older applications."
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "The System V Interface Definition (SVID) specifies that various math "
118 "functions should invoke a function called B<matherr>() if a math exception "
119 "is detected. This function is called before the math function returns; "
120 "after B<matherr>() returns, the system then returns to the math function, "
121 "which in turn returns to the caller."
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "To employ B<matherr>(), the programmer must define the B<_SVID_SOURCE> "
129 "feature test macro (before including I<any> header files), and assign the "
130 "value B<_SVID_> to the external variable B<_LIB_VERSION>."
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "The system provides a default version of B<matherr>(). This version does "
138 "nothing, and returns zero (see below for the significance of this). The "
139 "default B<matherr>() can be overridden by a programmer-defined version, "
140 "which will be invoked when an exception occurs. The function is invoked "
141 "with one argument, a pointer to an I<exception> structure, defined as "
142 "follows:"
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid ""
150 "struct exception {\n"
151 " int type; /* Exception type */\n"
152 " char *name; /* Name of function causing exception */\n"
153 " double arg1; /* 1st argument to function */\n"
154 " double arg2; /* 2nd argument to function */\n"
155 " double retval; /* Function return value */\n"
156 "}\n"
157 msgstr ""
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 msgid "The I<type> field has one of the following values:"
163 msgstr ""
164
165 #. type: TP
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "B<DOMAIN>"
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "A domain error occurred (the function argument was outside the range for "
177 "which the function is defined). The return value depends on the function; "
178 "I<errno> is set to B<EDOM>."
179 msgstr ""
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "B<SING>"
186 msgstr ""
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "A pole error occurred (the function result is an infinity). The return "
193 "value in most cases is B<HUGE> (the largest single precision floating-point "
194 "number), appropriately signed. In most cases, I<errno> is set to B<EDOM>."
195 msgstr ""
196
197 #. type: TP
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 #, no-wrap
201 msgid "B<OVERFLOW>"
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "An overflow occurred. In most cases, the value B<HUGE> is returned, and "
209 "I<errno> is set to B<ERANGE>."
210 msgstr ""
211
212 #. type: TP
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "B<UNDERFLOW>"
217 msgstr ""
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "An underflow occurred. 0.0 is returned, and I<errno> is set to B<ERANGE>."
224 msgstr ""
225
226 #. type: TP
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "B<TLOSS>"
231 msgstr ""
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "Total loss of significance. 0.0 is returned, and I<errno> is set to "
238 "B<ERANGE>."
239 msgstr ""
240
241 #. type: TP
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "B<PLOSS>"
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid ""
252 "Partial loss of significance. This value is unused on glibc (and many other "
253 "systems)."
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "The I<arg1> and I<arg2> fields are the arguments supplied to the function "
261 "(I<arg2> is undefined for functions that take only one argument)."
262 msgstr ""
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "The I<retval> field specifies the return value that the math function will "
269 "return to its caller. The programmer-defined B<matherr>() can modify this "
270 "field to change the return value of the math function."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "If the B<matherr>() function returns zero, then the system sets I<errno> as "
278 "described above, and may print an error message on standard error (see "
279 "below)."
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "If the B<matherr>() function returns a nonzero value, then the system does "
287 "not set I<errno>, and doesn't print an error message."
288 msgstr ""
289
290 #. type: SS
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "Math functions that employ matherr()"
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "The table below lists the functions and circumstances in which B<matherr>() "
302 "is called. The \"Type\" column indicates the value assigned to I<exc-"
303 "E<gt>type> when calling B<matherr>(). The \"Result\" column is the default "
304 "return value assigned to I<exc-E<gt>retval>."
305 msgstr ""
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "The \"Msg?\" and \"errno\" columns describe the default behavior if "
312 "B<matherr>() returns zero. If the \"Msg?\" columns contains \"y\", then "
313 "the system prints an error message on standard error."
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "The table uses the following notations and abbreviations:"
320 msgstr ""
321
322 #. type: tbl table
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "x first argument to function"
327 msgstr ""
328
329 #. type: tbl table
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "y second argument to function"
334 msgstr ""
335
336 #. type: tbl table
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "fin finite value for argument"
341 msgstr ""
342
343 #. type: tbl table
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "neg negative value for argument"
348 msgstr ""
349
350 #. type: tbl table
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "int integral value for argument"
355 msgstr ""
356
357 #. type: tbl table
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "o/f result overflowed"
362 msgstr ""
363
364 #. type: tbl table
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "u/f result underflowed"
369 msgstr ""
370
371 #. type: tbl table
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "|x| absolute value of x"
376 msgstr ""
377
378 #. type: tbl table
379 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
380 #: opensuse-tumbleweed
381 #, no-wrap
382 msgid "X_TLOSS is a constant defined in \\f[I]E<lt>math.hE<gt>\\fR"
383 msgstr ""
384
385 #. type: tbl table
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "Function"
390 msgstr ""
391
392 #. type: tbl table
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "Type"
397 msgstr ""
398
399 #. type: tbl table
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid "Result"
404 msgstr ""
405
406 #. type: tbl table
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "Msg?"
411 msgstr ""
412
413 #. type: tbl table
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "errno"
418 msgstr ""
419
420 #. type: tbl table
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 #, no-wrap
424 msgid "acos(|x|E<gt>1)"
425 msgstr ""
426
427 #. retval is 0.0/0.0
428 #. type: tbl table
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "DOMAIN"
433 msgstr ""
434
435 #. type: tbl table
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "HUGE"
440 msgstr ""
441
442 #. retval is 0.0/0.0
443 #. type: tbl table
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "y"
448 msgstr ""
449
450 #. retval is 0.0/0.0
451 #. type: tbl table
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "EDOM"
456 msgstr ""
457
458 #. type: tbl table
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "asin(|x|E<gt>1)"
463 msgstr ""
464
465 #. type: tbl table
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "atan2(0,0)"
470 msgstr ""
471
472 #. retval is 0.0/0.0
473 #. type: tbl table
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "acosh(xE<lt>1)"
478 msgstr ""
479
480 #. retval is 0.0/0.0
481 #. type: tbl table
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "NAN"
486 msgstr ""
487
488 #. retval is 0.0/0.0
489 #. type: tbl table
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "atanh(|x|E<gt>1)"
494 msgstr ""
495
496 #. retval is x/0.0
497 #. type: tbl table
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, no-wrap
501 msgid "atanh(|x|==1)"
502 msgstr ""
503
504 #. type: tbl table
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 #, no-wrap
508 msgid "SING"
509 msgstr ""
510
511 #. retval is x/0.0
512 #. type: tbl table
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "(xE<gt>0.0)?"
517 msgstr ""
518
519 #. type: tbl table
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 #, no-wrap
523 msgid "\\ "
524 msgstr ""
525
526 #. type: tbl table
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "HUGE_VAL :"
531 msgstr ""
532
533 #. type: tbl table
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, no-wrap
537 msgid "-HUGE_VAL"
538 msgstr ""
539
540 #. type: tbl table
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 #, no-wrap
544 msgid "cosh(fin) o/f"
545 msgstr ""
546
547 #. type: tbl table
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 #, no-wrap
551 msgid "OVERFLOW"
552 msgstr ""
553
554 #. type: tbl table
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 #, no-wrap
558 msgid "n"
559 msgstr ""
560
561 #. type: tbl table
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 #, no-wrap
565 msgid "ERANGE"
566 msgstr ""
567
568 #. type: tbl table
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 #, no-wrap
572 msgid "sinh(fin) o/f"
573 msgstr ""
574
575 #. type: tbl table
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 #, no-wrap
579 msgid "(xE<gt>0.0) ?"
580 msgstr ""
581
582 #. type: tbl table
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "HUGE : -HUGE"
587 msgstr ""
588
589 #. type: tbl table
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid "sqrt(xE<lt>0)"
594 msgstr ""
595
596 #. type: tbl table
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 #, no-wrap
600 msgid "0.0"
601 msgstr ""
602
603 #. type: tbl table
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 #, no-wrap
607 msgid "hypot(fin,fin) o/f"
608 msgstr ""
609
610 #. type: tbl table
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 #, no-wrap
614 msgid "exp(fin) o/f"
615 msgstr ""
616
617 #. type: tbl table
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid "exp(fin) u/f"
622 msgstr ""
623
624 #. type: tbl table
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 #, no-wrap
628 msgid "UNDERFLOW"
629 msgstr ""
630
631 #. type: tbl table
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "exp2(fin) o/f"
636 msgstr ""
637
638 #. type: tbl table
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 #, no-wrap
642 msgid "exp2(fin) u/f"
643 msgstr ""
644
645 #. type: tbl table
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 #, no-wrap
649 msgid "exp10(fin) o/f"
650 msgstr ""
651
652 #. type: tbl table
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "exp10(fin) u/f"
657 msgstr ""
658
659 #. type: tbl table
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, no-wrap
663 msgid "j0(|x|E<gt>X_TLOSS)"
664 msgstr ""
665
666 #. type: tbl table
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 #, no-wrap
670 msgid "TLOSS"
671 msgstr ""
672
673 #. type: tbl table
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 #, no-wrap
677 msgid "j1(|x|E<gt>X_TLOSS)"
678 msgstr ""
679
680 #. type: tbl table
681 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
682 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
683 #, no-wrap
684 msgid "jn(|x|E<gt>X_TLOSS)"
685 msgstr ""
686
687 #. type: tbl table
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "y0(xE<gt>X_TLOSS)"
692 msgstr ""
693
694 #. type: tbl table
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 #, no-wrap
698 msgid "y1(xE<gt>X_TLOSS)"
699 msgstr ""
700
701 #. type: tbl table
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 #, no-wrap
705 msgid "yn(xE<gt>X_TLOSS)"
706 msgstr ""
707
708 #. type: tbl table
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid "y0(0)"
713 msgstr ""
714
715 #. type: tbl table
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 #, no-wrap
719 msgid "-HUGE"
720 msgstr ""
721
722 #. type: tbl table
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 #, no-wrap
726 msgid "y0(xE<lt>0)"
727 msgstr ""
728
729 #. type: tbl table
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 #, no-wrap
733 msgid "y1(0)"
734 msgstr ""
735
736 #. type: tbl table
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, no-wrap
740 msgid "y1(xE<lt>0)"
741 msgstr ""
742
743 #. type: tbl table
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "yn(n,0)"
748 msgstr ""
749
750 #. type: tbl table
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 #, no-wrap
754 msgid "yn(xE<lt>0)"
755 msgstr ""
756
757 #. type: tbl table
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 #, no-wrap
761 msgid "lgamma(fin) o/f"
762 msgstr ""
763
764 #. type: tbl table
765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
767 #, no-wrap
768 msgid "lgamma(-int) or"
769 msgstr ""
770
771 #. type: tbl table
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "\\ \\ lgamma(0)"
776 msgstr ""
777
778 #. type: tbl table
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 #, no-wrap
782 msgid "tgamma(fin) o/f"
783 msgstr ""
784
785 #. type: tbl table
786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
788 #, no-wrap
789 msgid "HUGE_VAL"
790 msgstr ""
791
792 #. type: tbl table
793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
795 #, no-wrap
796 msgid "tgamma(-int)"
797 msgstr ""
798
799 #. type: tbl table
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 #, no-wrap
803 msgid "tgamma(0)"
804 msgstr ""
805
806 #. type: tbl table
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 #, no-wrap
810 msgid "copysign("
811 msgstr ""
812
813 #. type: tbl table
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 #, no-wrap
817 msgid "HUGE_VAL,x)"
818 msgstr ""
819
820 #. type: tbl table
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 #, no-wrap
824 msgid "log(0)"
825 msgstr ""
826
827 #. type: tbl table
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, no-wrap
831 msgid "log(xE<lt>0)"
832 msgstr ""
833
834 #. different from log()
835 #. type: tbl table
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 #, no-wrap
839 msgid "log2(0)"
840 msgstr ""
841
842 #. different from log()
843 #. type: tbl table
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 #, no-wrap
847 msgid "log2(xE<lt>0)"
848 msgstr ""
849
850 #. type: tbl table
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 #, no-wrap
854 msgid "log10(0)"
855 msgstr ""
856
857 #. type: tbl table
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 #, no-wrap
861 msgid "log10(xE<lt>0)"
862 msgstr ""
863
864 #. type: tbl table
865 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
866 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
867 #, no-wrap
868 msgid "pow(0.0,0.0)"
869 msgstr ""
870
871 #. type: tbl table
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 #, no-wrap
875 msgid "pow(x,y) o/f"
876 msgstr ""
877
878 #. type: tbl table
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 #, no-wrap
882 msgid "pow(x,y) u/f"
883 msgstr ""
884
885 #. type: tbl table
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
888 #, no-wrap
889 msgid "pow(NaN,0.0)"
890 msgstr ""
891
892 #. type: tbl table
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 #, no-wrap
896 msgid "x"
897 msgstr ""
898
899 #. +0 and -0
900 #. type: tbl table
901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
903 #, no-wrap
904 msgid "0**neg"
905 msgstr ""
906
907 #. type: tbl table
908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
909 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
910 #, no-wrap
911 msgid "neg**non-int"
912 msgstr ""
913
914 #. type: tbl table
915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
917 #, no-wrap
918 msgid "scalb() o/f"
919 msgstr ""
920
921 #. type: tbl table
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 #, no-wrap
925 msgid "scalb() u/f"
926 msgstr ""
927
928 #. type: tbl table
929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
931 #, no-wrap
932 msgid "\\ \\ 0.0,x)"
933 msgstr ""
934
935 #. type: tbl table
936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
938 #, no-wrap
939 msgid "fmod(x,0)"
940 msgstr ""
941
942 #. retval is 0.0/0.0
943 #. type: tbl table
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 #, no-wrap
947 msgid "remainder(x,0)"
948 msgstr ""
949
950 #. type: SH
951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
953 #, no-wrap
954 msgid "ATTRIBUTES"
955 msgstr ""
956
957 #. type: Plain text
958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
960 msgid ""
961 "For an explanation of the terms used in this section, see B<attributes>(7)."
962 msgstr ""
963
964 #. type: tbl table
965 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
966 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
967 #, no-wrap
968 msgid "Interface"
969 msgstr ""
970
971 #. type: tbl table
972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
974 #, no-wrap
975 msgid "Attribute"
976 msgstr ""
977
978 #. type: tbl table
979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
981 #, no-wrap
982 msgid "Value"
983 msgstr ""
984
985 #. type: tbl table
986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
988 #, no-wrap
989 msgid ".na\n"
990 msgstr ""
991
992 #. type: tbl table
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 #, no-wrap
996 msgid ".nh\n"
997 msgstr ""
998
999 #. type: tbl table
1000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1002 #, no-wrap
1003 msgid "B<matherr>()"
1004 msgstr ""
1005
1006 #. type: tbl table
1007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1009 #, no-wrap
1010 msgid "Thread safety"
1011 msgstr ""
1012
1013 #. type: tbl table
1014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1016 #, no-wrap
1017 msgid "MT-Safe"
1018 msgstr ""
1019
1020 #. type: SH
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 #, no-wrap
1024 msgid "EXAMPLES"
1025 msgstr ""
1026
1027 #. type: Plain text
1028 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1029 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1030 msgid ""
1031 "The example program demonstrates the use of B<matherr>() when calling "
1032 "B<log>(3). The program takes up to three command-line arguments. The first "
1033 "argument is the floating-point number to be given to B<log>(3). If the "
1034 "optional second argument is provided, then B<_LIB_VERSION> is set to "
1035 "B<_SVID_> so that B<matherr>() is called, and the integer supplied in the "
1036 "command-line argument is used as the return value from B<matherr>(). If the "
1037 "optional third command-line argument is supplied, then it specifies an "
1038 "alternative return value that B<matherr>() should assign as the return "
1039 "value of the math function."
1040 msgstr ""
1041
1042 #. type: Plain text
1043 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1044 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1045 msgid ""
1046 "The following example run, where B<log>(3) is given an argument of 0.0, "
1047 "does not use B<matherr>():"
1048 msgstr ""
1049
1050 #. type: Plain text
1051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1053 #, no-wrap
1054 msgid ""
1055 "$B< ./a.out 0.0>\n"
1056 "errno: Numerical result out of range\n"
1057 "x=-inf\n"
1058 msgstr ""
1059
1060 #. type: Plain text
1061 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1062 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1063 msgid "In the following run, B<matherr>() is called, and returns 0:"
1064 msgstr ""
1065
1066 #. type: Plain text
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 #, no-wrap
1070 msgid ""
1071 "$B< ./a.out 0.0 0>\n"
1072 "matherr SING exception in log() function\n"
1073 " args: 0.000000, 0.000000\n"
1074 " retval: -340282346638528859811704183484516925440.000000\n"
1075 "log: SING error\n"
1076 "errno: Numerical argument out of domain\n"
1077 "x=-340282346638528859811704183484516925440.000000\n"
1078 msgstr ""
1079
1080 #. type: Plain text
1081 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1082 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1083 msgid "The message \"log: SING error\" was printed by the C library."
1084 msgstr ""
1085
1086 #. type: Plain text
1087 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1088 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1089 msgid ""
1090 "In the following run, B<matherr>() is called, and returns a nonzero value:"
1091 msgstr ""
1092
1093 #. type: Plain text
1094 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1095 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1096 #, no-wrap
1097 msgid ""
1098 "$B< ./a.out 0.0 1>\n"
1099 "matherr SING exception in log() function\n"
1100 " args: 0.000000, 0.000000\n"
1101 " retval: -340282346638528859811704183484516925440.000000\n"
1102 "x=-340282346638528859811704183484516925440.000000\n"
1103 msgstr ""
1104
1105 #. type: Plain text
1106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1108 msgid ""
1109 "In this case, the C library did not print a message, and I<errno> was not "
1110 "set."
1111 msgstr ""
1112
1113 #. type: Plain text
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 msgid ""
1117 "In the following run, B<matherr>() is called, changes the return value of "
1118 "the math function, and returns a nonzero value:"
1119 msgstr ""
1120
1121 #. type: Plain text
1122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1124 #, no-wrap
1125 msgid ""
1126 "$B< ./a.out 0.0 1 12345.0>\n"
1127 "matherr SING exception in log() function\n"
1128 " args: 0.000000, 0.000000\n"
1129 " retval: -340282346638528859811704183484516925440.000000\n"
1130 "x=12345.000000\n"
1131 msgstr ""
1132
1133 #. type: SS
1134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1136 #, no-wrap
1137 msgid "Program source"
1138 msgstr ""
1139
1140 #. type: Plain text
1141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1143 #, no-wrap
1144 msgid ""
1145 "#define _SVID_SOURCE\n"
1146 "#include E<lt>errno.hE<gt>\n"
1147 "#include E<lt>math.hE<gt>\n"
1148 "#include E<lt>stdio.hE<gt>\n"
1149 "#include E<lt>stdlib.hE<gt>\n"
1150 "\\&\n"
1151 "static int matherr_ret = 0; /* Value that matherr()\n"
1152 " should return */\n"
1153 "static int change_retval = 0; /* Should matherr() change\n"
1154 " function\\[aq]s return value? */\n"
1155 "static double new_retval; /* New function return value */\n"
1156 "\\&\n"
1157 "int\n"
1158 "matherr(struct exception *exc)\n"
1159 "{\n"
1160 " fprintf(stderr, \"matherr %s exception in %s() function\\[rs]n\",\n"
1161 " (exc-E<gt>type == DOMAIN) ? \"DOMAIN\" :\n"
1162 " (exc-E<gt>type == OVERFLOW) ? \"OVERFLOW\" :\n"
1163 " (exc-E<gt>type == UNDERFLOW) ? \"UNDERFLOW\" :\n"
1164 " (exc-E<gt>type == SING) ? \"SING\" :\n"
1165 " (exc-E<gt>type == TLOSS) ? \"TLOSS\" :\n"
1166 " (exc-E<gt>type == PLOSS) ? \"PLOSS\" : \"???\",\n"
1167 " exc-E<gt>name);\n"
1168 " fprintf(stderr, \" args: %f, %f\\[rs]n\",\n"
1169 " exc-E<gt>arg1, exc-E<gt>arg2);\n"
1170 " fprintf(stderr, \" retval: %f\\[rs]n\", exc-E<gt>retval);\n"
1171 "\\&\n"
1172 " if (change_retval)\n"
1173 " exc-E<gt>retval = new_retval;\n"
1174 "\\&\n"
1175 " return matherr_ret;\n"
1176 "}\n"
1177 "\\&\n"
1178 "int\n"
1179 "main(int argc, char *argv[])\n"
1180 "{\n"
1181 " double x;\n"
1182 "\\&\n"
1183 " if (argc E<lt> 2) {\n"
1184 " fprintf(stderr, \"Usage: %s E<lt>argvalE<gt>\"\n"
1185 " \" [E<lt>matherr-retE<gt> [E<lt>new-func-retvalE<gt>]]\\[rs]n\", argv[0]);\n"
1186 " exit(EXIT_FAILURE);\n"
1187 " }\n"
1188 "\\&\n"
1189 " if (argc E<gt> 2) {\n"
1190 " _LIB_VERSION = _SVID_;\n"
1191 " matherr_ret = atoi(argv[2]);\n"
1192 " }\n"
1193 "\\&\n"
1194 " if (argc E<gt> 3) {\n"
1195 " change_retval = 1;\n"
1196 " new_retval = atof(argv[3]);\n"
1197 " }\n"
1198 "\\&\n"
1199 " x = log(atof(argv[1]));\n"
1200 " if (errno != 0)\n"
1201 " perror(\"errno\");\n"
1202 "\\&\n"
1203 " printf(\"x=%f\\[rs]n\", x);\n"
1204 " exit(EXIT_SUCCESS);\n"
1205 "}\n"
1206 msgstr ""
1207
1208 #. SRC END
1209 #. type: SH
1210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1212 #, no-wrap
1213 msgid "SEE ALSO"
1214 msgstr ""
1215
1216 #. type: Plain text
1217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1219 msgid "B<fenv>(3), B<math_error>(7), B<standards>(7)"
1220 msgstr ""
1221
1222 #. type: TH
1223 #: debian-trixie
1224 #, no-wrap
1225 msgid "2024-06-15"
1226 msgstr ""
1227
1228 #. type: TH
1229 #: debian-trixie
1230 #, no-wrap
1231 msgid "Linux man-pages 6.9.1"
1232 msgstr ""
1233
1234 #. type: Plain text
1235 #: debian-trixie
1236 msgid "Math library (I<libm>, I<-lm>)"
1237 msgstr ""
1238
1239 #. type: tbl table
1240 #: debian-trixie fedora-44 fedora-rawhide
1241 #, no-wrap
1242 msgid "X_TLOSS is a constant defined in I<E<lt>math.hE<gt>>"
1243 msgstr ""
1244
1245 #. type: TH
1246 #: fedora-44 fedora-rawhide
1247 #, no-wrap
1248 msgid "2024-07-23"
1249 msgstr ""
1250
1251 #. type: TH
1252 #: fedora-44 fedora-rawhide
1253 #, no-wrap
1254 msgid "Linux man-pages 6.13"
1255 msgstr ""
1256
1257 #. type: TH
1258 #: mageia-cauldron
1259 #, no-wrap
1260 msgid "Linux man-pages 6.17"
1261 msgstr ""
1262
1263 #. type: TH
1264 #: opensuse-leap-16-1 opensuse-tumbleweed
1265 #, no-wrap
1266 msgid "Linux man-pages (unreleased)"
1267 msgstr ""