# Russian translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # aereiae , 2014. # Alexey , 2015. # Azamat Hackimov , 2013-2017. # Dmitriy S. Seregin , 2013. # Dmitry Bolkhovskikh , 2017. # ITriskTI , 2013. # Max Is , 2016. # Yuri Kozlov , 2011-2019. # Иван Павлов , 2017. # Малянов Евгений Викторович , 2014. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2024-06-01 06:02+0200\n" "PO-Revision-Date: 2019-10-06 08:59+0300\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" "%100>=11 && n%100<=14)? 2 : 3);\n" "X-Generator: Lokalize 2.0\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B()" msgid "matherr" msgstr "B()" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "2024-05-02" msgstr "2 мая 2024 г." #. type: TH #: archlinux debian-unstable #, fuzzy, no-wrap #| msgid "Linux man-pages 6.7" msgid "Linux man-pages 6.8" msgstr "Linux man-pages 6.7" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "ИМЯ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "matherr - SVID math library exception handling" msgstr "matherr - библиотека SVID для обработки математических исключений" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Math library (I, I<-lm>)" msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "СИНТАКСИС" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B<#include Emath.hE>\n" msgstr "B<#include Emath.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>\n" msgid "B<[[deprecated]] int matherr(struct exception *>IB<);>\n" msgstr "BIB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B\n" msgid "B<[[deprecated]] extern _LIB_VERSION_TYPE _LIB_VERSION;>\n" msgstr "B\n" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "ОПИСАНИЕ" #. glibc commit 813378e9fe17e029caf627cab76fe23eb46815fa #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "I: the mechanism described in this page is no longer supported by " "glibc. Before glibc 2.27, it had been marked as obsolete. Since glibc " "2.27, the mechanism has been removed altogether. New applications should " "use the techniques described in B(7) and B(3). This page " "documents the B() mechanism as an aid for maintaining and porting " "older applications." msgstr "" "I<Замечание>: механизм, описанный на этой странице, больше не поддерживается " "glibc. До glibc 2.27 он был помечен как устаревший. Начиная с glibc 2.27, " "механизм был полностью удалён. В новых приложениях нужно использовать " "методы, описанные в B(7) и B(3). На этой странице описан " "механизм B() с целью сопровождения и переноса старых приложений." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The System V Interface Definition (SVID) specifies that various math " "functions should invoke a function called B() if a math exception " "is detected. This function is called before the math function returns; " "after B() returns, the system then returns to the math function, " "which in turn returns to the caller." msgstr "" "В System V Interface Definition (SVID) определено какие математические " "функции должны вызывать функцию B(), если обнаруживается " "математическое исключение. Эта функция вызывает до возврата из самой " "математической функции; после возврата из B() система возвращается " "в математическую функцию, которая, в свою очередь, возвращает управление " "вызывающему." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "To employ B(), the programmer must define the B<_SVID_SOURCE> " "feature test macro (before including I header files), and assign the " "value B<_SVID_> to the external variable B<_LIB_VERSION>." msgstr "" "Чтобы задействовать B(), программист должен определить макрос " "тестирования свойств B<_SVID_SOURCE> (до включения I<каких-либо> " "заголовочных файлов) и присвоить значение B<_SVID_> внешней переменной " "B<_LIB_VERSION>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The system provides a default version of B(). This version does " "nothing, and returns zero (see below for the significance of this). The " "default B() can be overridden by a programmer-defined version, " "which will be invoked when an exception occurs. The function is invoked " "with one argument, a pointer to an I structure, defined as " "follows:" msgstr "" "Система предоставляет B() как версию по умолчанию. Эта версия " "ничего не делает возвращает ноль (назначение этого смотрите далее). Версия " "по умолчанию B() может быть перезаписана версией программиста, " "которая будет вызываться при возникновении исключений. Функция вызывается с " "одним аргументом, указателем на структуру I, определённую " "следующим образом:" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "struct exception {\n" " int type; /* Exception type */\n" " char *name; /* Name of function causing exception */\n" " double arg1; /* 1st argument to function */\n" " double arg2; /* 2nd argument to function */\n" " double retval; /* Function return value */\n" "}\n" msgstr "" "struct exception {\n" " int type; /* тип исключения */\n" " char *name; /* имя функции, вызвавшей исключение */\n" " double arg1; /* 1-й аргумент функции */\n" " double arg2; /* 2-й аргумент функции */\n" " double retval; /* значение, возвращаемое функцией */\n" "}\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The I field has one of the following values:" msgstr "В поле I может быть одно из следующих значений:" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "A domain error occurred (the function argument was outside the range for " "which the function is defined). The return value depends on the function; " "I is set to B." msgstr "" "Произошла ошибка области (аргумент функции вне диапазона, для которого " "определена функция). Возвращаемое значение зависит от функции; I " "присваивается B." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "A pole error occurred (the function result is an infinity). The return " "value in most cases is B (the largest single precision floating-point " "number), appropriately signed. In most cases, I is set to B." msgstr "" "Произошла ошибка особой точки (результат функции равен бесконечности). " "Возвращаемое значение, в большинстве случаев, равно B (самое большое " "число с плавающей запятой одинарной точности) с соответствующим знаком. В " "большинстве случаев, I присваивается B." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "An overflow occurred. In most cases, the value B is returned, and " "I is set to B." msgstr "" "Возникло переполнение. В большинстве случаев, возвращается значение B " "и I присваивается B." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "An underflow occurred. 0.0 is returned, and I is set to B." msgstr "" "Произошла потеря значимости. Возвращается 0.0 и I присваивается " "B." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Total loss of significance. 0.0 is returned, and I is set to " "B." msgstr "" "Полная потеря значимости. Возвращается 0.0 и I присваивается " "B." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Partial loss of significance. This value is unused on glibc (and many other " "systems)." msgstr "" "Частичная потеря значимости. Это значение не используется в glibc (и многих " "других системах)." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The I and I fields are the arguments supplied to the function " "(I is undefined for functions that take only one argument)." msgstr "" "Поля I и I это значения аргументов, переданных функции (I " "не определено для функций, у которых только один аргумент)." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The I field specifies the return value that the math function will " "return to its caller. The programmer-defined B() can modify this " "field to change the return value of the math function." msgstr "" "В поле I указывается возвращаемое значение, которое математическая " "функция вернёт вызывающему. Написанная программистом B() может " "изменить этого поле, чтобы вернуть другое значение из математической функции." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "If the B() function returns zero, then the system sets I as " "described above, and may print an error message on standard error (see " "below)." msgstr "" "Если функция B() возвращает ноль, то система изменяет I как " "описано выше и может вывести сообщение об ошибке в стандартный поток ошибок " "(смотрите далее)." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "If the B() function returns a nonzero value, then the system does " "not set I, and doesn't print an error message." msgstr "" "Если функция B() возвращает ненулевое значение, то система не " "изменяет I и не печатает сообщение об ошибке." #. type: SS #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Math functions that employ matherr()" msgstr "Математические функции, которые используют matherr()" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The table below lists the functions and circumstances in which B() " "is called. The \"Type\" column indicates the value assigned to Itype> when calling B(). The \"Result\" column is the default " "return value assigned to Iretval>." msgstr "" "В таблице далее перечислены функции и обстоятельства вызова B(). В " "столбце «тип» показано значение, назначаемое Itype>, когда " "вызывается B(). В столбце «результат» содержится возвращаемое " "значение по умолчанию. назначаемое Iretval>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The \"Msg?\" and \"errno\" columns describe the default behavior if " "B() returns zero. If the \"Msg?\" columns contains \"y\", then " "the system prints an error message on standard error." msgstr "" "В столбцах «сообщение?» и «errno» описано поведение по умолчанию, если " "B() возвращает ноль. Если в «сообщение?» указано «y», то система " "выводит сообщение об ошибке в стандартный поток ошибок." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The table uses the following notations and abbreviations:" msgstr "В таблице используются следующие обозначения и сокращения:" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "x first argument to function" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "y second argument to function" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "fin finite value for argument" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "neg negative value for argument" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "int integral value for argument" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "Range error: result overflow" msgid "o/f result overflowed" msgstr "Ошибка диапазона: результат превысил разрядность" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "Range error: result underflow" msgid "u/f result underflowed" msgstr "Ошибка диапазона: результат исчерпал степень" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "|x| absolute value of x" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "The I structure is defined in Iasm/ldt.hE> as:" msgid "X_TLOSS is a constant defined in Imath.hE>" msgstr "Структура I определена в Iasm/ldt.hE> следующим образом:" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Function" msgstr "функция" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Type" msgstr "тип" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Result" msgstr "результат" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Msg?" msgstr "Сообщение?" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "errno" msgstr "errno" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "acos(|x|E1)" msgstr "acos(|x|E1)" #. retval is 0.0/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DOMAIN" msgstr "DOMAIN" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HUGE" msgstr "HUGE" #. retval is 0.0/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "y" msgstr "и" #. retval is 0.0/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EDOM" msgstr "EDOM" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "asin(|x|E1)" msgstr "asin(|x|E1)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "atan2(0,0)" msgstr "atan2(0,0)" #. retval is 0.0/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "acosh(xE1)" msgstr "acosh(xE1)" #. retval is 0.0/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAN" msgstr "NAN" #. retval is 0.0/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "atanh(|x|E1)" msgstr "atanh(|x|E1)" #. retval is x/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "atanh(|x|==1)" msgstr "atanh(|x|==1)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SING" msgstr "SING" #. retval is x/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "(xE0.0)?" msgstr "(xE0.0)?" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "\\ " msgstr "\\ " #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HUGE_VAL :" msgstr "HUGE_VAL :" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "-HUGE_VAL" msgstr "-HUGE_VAL" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "cosh(fin) o/f" msgstr "cosh(fin) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "OVERFLOW" msgstr "OVERFLOW" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "n" msgstr "н" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "ERANGE" msgstr "ERANGE" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "sinh(fin) o/f" msgstr "sinh(fin) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "(xE0.0) ?" msgstr "(xE0.0) ?" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HUGE : -HUGE" msgstr "HUGE : -HUGE" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "sqrt(xE0)" msgstr "sqrt(xE0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "0.0" msgstr "0.0" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "hypot(fin,fin) o/f" msgstr "hypot(fin,fin) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "exp(fin) o/f" msgstr "exp(fin) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "exp(fin) u/f" msgstr "exp(fin) u/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "UNDERFLOW" msgstr "UNDERFLOW" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "exp2(fin) o/f" msgstr "exp2(fin) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "exp2(fin) u/f" msgstr "exp2(fin) u/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "exp10(fin) o/f" msgstr "exp10(fin) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "exp10(fin) u/f" msgstr "exp10(fin) u/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "j0(|x|EX_TLOSS)" msgstr "j0(|x|EX_TLOSS)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "TLOSS" msgstr "TLOSS" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "j1(|x|EX_TLOSS)" msgstr "j1(|x|EX_TLOSS)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "jn(|x|EX_TLOSS)" msgstr "jn(|x|EX_TLOSS)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "y0(xEX_TLOSS)" msgstr "y0(xEX_TLOSS)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "y1(xEX_TLOSS)" msgstr "y1(xEX_TLOSS)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "yn(xEX_TLOSS)" msgstr "yn(xEX_TLOSS)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "y0(0)" msgstr "y0(0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "-HUGE" msgstr "-HUGE" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "y0(xE0)" msgstr "y0(xE0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "y1(0)" msgstr "y1(0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "y1(xE0)" msgstr "y1(xE0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "yn(n,0)" msgstr "yn(n,0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "yn(xE0)" msgstr "yn(xE0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "lgamma(fin) o/f" msgstr "lgamma(fin) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "lgamma(-int) or" msgstr "lgamma(-int) или" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "\\ \\ lgamma(0)" msgstr "\\ \\ lgamma(0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "tgamma(fin) o/f" msgstr "tgamma(fin) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HUGE_VAL" msgstr "HUGE_VAL" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "tgamma(-int)" msgstr "tgamma(-int)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "tgamma(0)" msgstr "tgamma(0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "copysign(" msgstr "copysign(" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HUGE_VAL,x)" msgstr "HUGE_VAL,x)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "log(0)" msgstr "log(0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "log(xE0)" msgstr "log(xE0)" #. different from log() #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "log2(0)" msgstr "log2(0)" #. different from log() #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "log2(xE0)" msgstr "log2(xE0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "log10(0)" msgstr "log10(0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "log10(xE0)" msgstr "log10(xE0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "pow(0.0,0.0)" msgstr "pow(0.0,0.0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "pow(x,y) o/f" msgstr "pow(x,y) o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "pow(x,y) u/f" msgstr "pow(x,y) u/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "pow(NaN,0.0)" msgstr "pow(NaN,0.0)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "x" msgstr "x" #. +0 and -0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "0**neg" msgstr "0**neg" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "neg**non-int" msgstr "neg**non-int" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "scalb() o/f" msgstr "scalb() o/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "scalb() u/f" msgstr "scalb() u/f" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "\\ \\ 0.0,x)" msgstr "\\ \\ 0.0,x)" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "fmod(x,0)" msgstr "fmod(x,0)" #. retval is 0.0/0.0 #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "remainder(x,0)" msgstr "remainder(x,0)" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "АТРИБУТЫ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "Описание терминов данного раздела смотрите в B(7)." #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "Интерфейс" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "Атрибут" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "Значение" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "Безвредность в нитях" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "ПРИМЕРЫ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The example program demonstrates the use of B() when calling " "B(3). The program takes up to three command-line arguments. The first " "argument is the floating-point number to be given to B(3). If the " "optional second argument is provided, then B<_LIB_VERSION> is set to " "B<_SVID_> so that B() is called, and the integer supplied in the " "command-line argument is used as the return value from B(). If the " "optional third command-line argument is supplied, then it specifies an " "alternative return value that B() should assign as the return " "value of the math function." msgstr "" "В примере программы показано использование B() при вызове " "B(3). Программа имеет три аргумента командной строки. Первый аргумент — " "число с плавающей запятой, передаваемое в B(3). Если указан " "необязательный второй аргумент, то B<_LIB_VERSION> присваивается значение " "B<_SVID_> для того, чтобы вызывалась B(), и указанное в командной " "строке целое число используется как возвращаемое значение B(). Если " "указан необязательный третий аргумент, то им определяется альтернативное " "возвращаемое значение, которое B() должна вернуть как результат " "математической функции." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The following example run, where B(3) is given an argument of 0.0, " "does not use B():" msgstr "" "Пример запуска, где в B(3) передаётся аргумент 0.0 и не используется " "B():" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out 0.0>\n" "errno: Numerical result out of range\n" "x=-inf\n" msgstr "" "$B< ./a.out 0.0>\n" "errno: Числовой результат вне представимого диапазона\n" "x=-inf\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "In the following run, B() is called, and returns 0:" msgstr "В следующем примере вызывается функция B() и возвращает 0:" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out 0.0 0>\n" "matherr SING exception in log() function\n" " args: 0.000000, 0.000000\n" " retval: -340282346638528859811704183484516925440.000000\n" "log: SING error\n" "errno: Numerical argument out of domain\n" "x=-340282346638528859811704183484516925440.000000\n" msgstr "" "$B< ./a.out 0.0 0>\n" "исключение matherr SING в функции log()\n" " арг: 0.000000, 0.000000\n" " возвр.знач.: -340282346638528859811704183484516925440.000000\n" "log: SING error\n" "errno: Числовой аргумент вне области функции\n" "x=-340282346638528859811704183484516925440.000000\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The message \"log: SING error\" was printed by the C library." msgstr "Сообщение «log: SING error» выдаётся библиотекой Си." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "In the following run, B() is called, and returns a nonzero value:" msgstr "" "В следующем примере вызывается функция B() и возвращается не " "нулевое значение:" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out 0.0 1>\n" "matherr SING exception in log() function\n" " args: 0.000000, 0.000000\n" " retval: -340282346638528859811704183484516925440.000000\n" "x=-340282346638528859811704183484516925440.000000\n" msgstr "" "$B< ./a.out 0.0 1>\n" "исключение matherr SING в функции log()\n" " арг: 0.000000, 0.000000\n" " возвр.знач.: -340282346638528859811704183484516925440.000000\n" "x=-340282346638528859811704183484516925440.000000\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "In this case, the C library did not print a message, and I was not " "set." msgstr "" "В этом случае библиотека Си не печатает сообщение, и значение I не " "изменяется." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "In the following run, B() is called, changes the return value of " "the math function, and returns a nonzero value:" msgstr "" "В следующем примере вызывается функция B(), изменяется возвращаемое " "значение математической функции и возвращается ненулевое значение:" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out 0.0 1 12345.0>\n" "matherr SING exception in log() function\n" " args: 0.000000, 0.000000\n" " retval: -340282346638528859811704183484516925440.000000\n" "x=12345.000000\n" msgstr "" "$B< ./a.out 0.0 1 12345.0>\n" "исключение matherr SING в функции log()\n" " арг: 0.000000, 0.000000\n" " возвр.знач.: -340282346638528859811704183484516925440.000000\n" "x=12345.000000\n" #. type: SS #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "Исходный код программы" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid "" "#define _SVID_SOURCE\n" "#include Eerrno.hE\n" "#include Emath.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "static int matherr_ret = 0; /* Value that matherr()\n" " should return */\n" "static int change_retval = 0; /* Should matherr() change\n" " function\\[aq]s return value? */\n" "static double new_retval; /* New function return value */\n" "\\&\n" "int\n" "matherr(struct exception *exc)\n" "{\n" " fprintf(stderr, \"matherr %s exception in %s() function\\en\",\n" " (exc-Etype == DOMAIN) ? \"DOMAIN\" :\n" " (exc-Etype == OVERFLOW) ? \"OVERFLOW\" :\n" " (exc-Etype == UNDERFLOW) ? \"UNDERFLOW\" :\n" " (exc-Etype == SING) ? \"SING\" :\n" " (exc-Etype == TLOSS) ? \"TLOSS\" :\n" " (exc-Etype == PLOSS) ? \"PLOSS\" : \"???\",\n" " exc-Ename);\n" " fprintf(stderr, \" args: %f, %f\\en\",\n" " exc-Earg1, exc-Earg2);\n" " fprintf(stderr, \" retval: %f\\en\", exc-Eretval);\n" "\\&\n" " if (change_retval)\n" " exc-Eretval = new_retval;\n" "\\&\n" " return matherr_ret;\n" "}\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " double x;\n" "\\&\n" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EargvalE\"\n" " \" [Ematherr-retE [Enew-func-retvalE]]\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (argc E 2) {\n" " _LIB_VERSION = _SVID_;\n" " matherr_ret = atoi(argv[2]);\n" " }\n" "\\&\n" " if (argc E 3) {\n" " change_retval = 1;\n" " new_retval = atof(argv[3]);\n" " }\n" "\\&\n" " x = log(atof(argv[1]));\n" " if (errno != 0)\n" " perror(\"errno\");\n" "\\&\n" " printf(\"x=%f\\en\", x);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" #. SRC END #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "СМОТРИТЕ ТАКЖЕ" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B(3), B(7), B(7)" msgstr "B(3), B(7), B(7)" #. type: TH #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "2023-02-05" msgstr "5 февраля 2023 г." #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "Linux man-pages 6.03" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "#define _SVID_SOURCE\n" "#include Eerrno.hE\n" "#include Emath.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" msgstr "" "#define _SVID_SOURCE\n" "#include Eerrno.hE\n" "#include Emath.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "static int matherr_ret = 0; /* Value that matherr()\n" #| " should return */\n" #| "static int change_retval = 0; /* Should matherr() change\n" #| " function\\(aqs return value? */\n" #| "static double new_retval; /* New function return value */\n" msgid "" "static int matherr_ret = 0; /* Value that matherr()\n" " should return */\n" "static int change_retval = 0; /* Should matherr() change\n" " function\\[aq]s return value? */\n" "static double new_retval; /* New function return value */\n" msgstr "" "static int matherr_ret = 0; /* значение, которое должна\n" " вернуть matherr() */\n" "static int change_retval = 0; /* должна ли matherr() изменять\n" " возвращаемое функцией значение? */\n" "static double new_retval; /* новое значение, возвращаемое\n" " функцией */\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "int\n" #| "matherr(struct exception *exc)\n" #| "{\n" #| " fprintf(stderr, \"matherr %s exception in %s() function\\en\",\n" #| " (exc-Etype == DOMAIN) ? \"DOMAIN\" :\n" #| " (exc-Etype == OVERFLOW) ? \"OVERFLOW\" :\n" #| " (exc-Etype == UNDERFLOW) ? \"UNDERFLOW\" :\n" #| " (exc-Etype == SING) ? \"SING\" :\n" #| " (exc-Etype == TLOSS) ? \"TLOSS\" :\n" #| " (exc-Etype == PLOSS) ? \"PLOSS\" : \"???\",\n" #| " exc-Ename);\n" #| " fprintf(stderr, \" args: %f, %f\\en\",\n" #| " exc-Earg1, exc-Earg2);\n" #| " fprintf(stderr, \" retval: %f\\en\", exc-Eretval);\n" msgid "" "int\n" "matherr(struct exception *exc)\n" "{\n" " fprintf(stderr, \"matherr %s exception in %s() function\\en\",\n" " (exc-Etype == DOMAIN) ? \"DOMAIN\" :\n" " (exc-Etype == OVERFLOW) ? \"OVERFLOW\" :\n" " (exc-Etype == UNDERFLOW) ? \"UNDERFLOW\" :\n" " (exc-Etype == SING) ? \"SING\" :\n" " (exc-Etype == TLOSS) ? \"TLOSS\" :\n" " (exc-Etype == PLOSS) ? \"PLOSS\" : \"???\",\n" " exc-Ename);\n" " fprintf(stderr, \" args: %f, %f\\en\",\n" " exc-Earg1, exc-Earg2);\n" " fprintf(stderr, \" retval: %f\\en\", exc-Eretval);\n" msgstr "" "int\n" "matherr(struct exception *exc)\n" "{\n" " fprintf(stderr, \"исключение matherr %s в функции %s()\\en\",\n" " (exc-Etype == DOMAIN) ? \"DOMAIN\" :\n" " (exc-Etype == OVERFLOW) ? \"OVERFLOW\" :\n" " (exc-Etype == UNDERFLOW) ? \"UNDERFLOW\" :\n" " (exc-Etype == SING) ? \"SING\" :\n" " (exc-Etype == TLOSS) ? \"TLOSS\" :\n" " (exc-Etype == PLOSS) ? \"PLOSS\" : \"???\",\n" " exc-Ename);\n" " fprintf(stderr, \" арг: %f, %f\\en\",\n" " exc-Earg1, exc-Earg2);\n" " fprintf(stderr, \" возвр.знач.: %f\\en\", exc-Eretval);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " if (change_retval)\n" " exc-Eretval = new_retval;\n" msgstr "" " if (change_retval)\n" " exc-Eretval = new_retval;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " return matherr_ret;\n" "}\n" msgstr "" " return matherr_ret;\n" "}\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "int\n" "main(int argc, char *argv[])\n" "{\n" " double x;\n" msgstr "" "int\n" "main(int argc, char *argv[])\n" "{\n" " double x;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " if (argc E 2) {\n" " fprintf(stderr, \"Usage: %s EargvalE\"\n" " \" [Ematherr-retE [Enew-func-retvalE]]\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" msgstr "" " if (argc E 2) {\n" " fprintf(stderr, \"Использование: %s EаргE\"\n" " \" [Eрез-matherrE [Eрез-нов-функE]]\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " if (argc E 2) {\n" " _LIB_VERSION = _SVID_;\n" " matherr_ret = atoi(argv[2]);\n" " }\n" msgstr "" " if (argc E 2) {\n" " _LIB_VERSION = _SVID_;\n" " matherr_ret = atoi(argv[2]);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " if (argc E 3) {\n" " change_retval = 1;\n" " new_retval = atof(argv[3]);\n" " }\n" msgstr "" " if (argc E 3) {\n" " change_retval = 1;\n" " new_retval = atof(argv[3]);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " x = log(atof(argv[1]));\n" " if (errno != 0)\n" " perror(\"errno\");\n" msgstr "" " x = log(atof(argv[1]));\n" " if (errno != 0)\n" " perror(\"errno\");\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " printf(\"x=%f\\en\", x);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " printf(\"x=%f\\en\", x);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31 октября 2023 г." #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Linux man-pages 6.06" #. type: TH #: fedora-rawhide #, no-wrap msgid "2024-02-26" msgstr "26 февраля 2024 г." #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "Linux man-pages 6.7" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "Linux man-pages 6.04" #. type: TH #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "Linux man-pages 6.7" msgid "Linux man-pages (unreleased)" msgstr "Linux man-pages 6.7"