Skip to content

Traducido archivo library/math #2226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 36 additions & 29 deletions library/math.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2021-08-18 09:42+0800\n"
"PO-Revision-Date: 2022-11-25 02:25-0500\n"
"Last-Translator: Francisco Jesús Sevilla García <fjsevilla.dev@gmail.com>\n"
"Language: es_ES\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.0.1\n"

#: ../Doc/library/math.rst:2
msgid ":mod:`math` --- Mathematical functions"
Expand Down Expand Up @@ -68,15 +69,14 @@ msgid "Number-theoretic and representation functions"
msgstr "Teoría de números y funciones de representación"

#: ../Doc/library/math.rst:34
#, fuzzy
msgid ""
"Return the ceiling of *x*, the smallest integer greater than or equal to "
"*x*. If *x* is not a float, delegates to :meth:`x.__ceil__ <object."
"__ceil__>`, which should return an :class:`~numbers.Integral` value."
msgstr ""
"Retorna el \"techo\" de *x*, el número entero más pequeño que es mayor o "
"igual que *x*. Si *x* no es un flotante, delega en ``x.__ceil__()``, que "
"debería retornar un valor :class:`~numbers.Integral`."
"igual que *x*. Si *x* no es un flotante, delega en :meth:`x.__ceil__ <object."
"__ceil__>`, que debería retornar un valor :class:`~numbers.Integral`."

#: ../Doc/library/math.rst:41
msgid ""
Expand All @@ -95,14 +95,12 @@ msgstr ""
"``k > n``."

#: ../Doc/library/math.rst:47
#, fuzzy
msgid ""
"Also called the binomial coefficient because it is equivalent to the "
"coefficient of k-th term in polynomial expansion of ``(1 + x)ⁿ``."
msgstr ""
"También se llama coeficiente binomial porque es equivalente al coeficiente "
"del k-ésimo término en el desarrollo polinomial de la expresión ``(1 + x) ** "
"n``."
"También llamado coeficiente binomial porque es equivalente al coeficiente "
"del k-ésimo término en la expansión polinomial de ``(1 + x)ⁿ``."

#: ../Doc/library/math.rst:51 ../Doc/library/math.rst:260
msgid ""
Expand All @@ -128,28 +126,26 @@ msgid "Return the absolute value of *x*."
msgstr "Retorna el valor absoluto de *x*."

#: ../Doc/library/math.rst:71
#, fuzzy
msgid ""
"Return *n* factorial as an integer. Raises :exc:`ValueError` if *n* is not "
"integral or is negative."
msgstr ""
"Retorna el factorial de *x* como un número entero. Lanza una excepción :exc:"
"`ValueError` si *x* no es un entero o es negativo."
"Retorna el factorial de *n* como un número entero. Lanza una excepción :exc:"
"`ValueError` si *n* no es un entero o negativo."

#: ../Doc/library/math.rst:74
msgid "Accepting floats with integral values (like ``5.0``) is deprecated."
msgstr "Aceptar flotantes con valores integrales (como ``5.0``) está obsoleto."

#: ../Doc/library/math.rst:80
#, fuzzy
msgid ""
"Return the floor of *x*, the largest integer less than or equal to *x*. If "
"*x* is not a float, delegates to :meth:`x.__floor__ <object.__floor__>`, "
"which should return an :class:`~numbers.Integral` value."
msgstr ""
"Retorna el \"suelo\" de *x*, el primer número entero mayor o igual que *x*. "
"Si *x* no es un flotante, delega en ``x .__floor__()``, que debería retornar "
"un valor :class:`~numbers.Integral`."
"Si *x* no es un flotante, delega en :meth:`x.__floor__ <object.__floor__>`, "
"que debería retornar un valor :class:`~numbers.Integral`."

#: ../Doc/library/math.rst:87
#, python-format
Expand Down Expand Up @@ -511,6 +507,11 @@ msgid ""
"delegates to :meth:`x.__trunc__ <object.__trunc__>`, which should return an :"
"class:`~numbers.Integral` value."
msgstr ""
"Retorna *x* con la parte fraccionaria eliminada, dejando la parte entera."
"Esto redondea hacia 0: ``trunc()`` es equivalente a :func:`floor` para *x* "
"positivo y equivalente a :func:`ceil` para *x* negativo. Si *x* no es un "
"flotante, delega a :meth:`x.__trunc__ <object.__trunc__>`, que debería "
"retornar un valor :class:`~numbers.Integral`."

#: ../Doc/library/math.rst:309
msgid "Return the value of the least significant bit of the float *x*:"
Expand Down Expand Up @@ -602,9 +603,8 @@ msgid "Power and logarithmic functions"
msgstr "Funciones logarítmicas y exponenciales"

#: ../Doc/library/math.rst:349
#, fuzzy
msgid "Return the cube root of *x*."
msgstr "Retorna la raíz cuadrada de *x*."
msgstr "Retorna la raíz cúbica de *x*."

#: ../Doc/library/math.rst:356
msgid ""
Expand All @@ -618,7 +618,7 @@ msgstr ""

#: ../Doc/library/math.rst:363
msgid "Return *2* raised to the power *x*."
msgstr ""
msgstr "Retorna *2* elevado a la potencia *x*."

#: ../Doc/library/math.rst:370
msgid ""
Expand Down Expand Up @@ -679,7 +679,6 @@ msgstr ""
"``log(x, 10)``."

#: ../Doc/library/math.rst:420
#, fuzzy
msgid ""
"Return ``x`` raised to the power ``y``. Exceptional cases follow the IEEE "
"754 standard as far as possible. In particular, ``pow(1.0, x)`` and "
Expand All @@ -688,11 +687,11 @@ msgid ""
"integer then ``pow(x, y)`` is undefined, and raises :exc:`ValueError`."
msgstr ""
"Retorna ``x`` elevado a la potencia ``y``. Los casos excepcionales siguen el "
"Anexo 'F' del estándar C99 en la medida de lo posible. En particular, "
"``pow(1.0, x)`` y ``pow(x, 0.0)`` siempre retornan ``1.0``, incluso cuando "
"``x`` es cero o NaN. Si tanto ``x`` como ``y`` son finitos, ``x`` es "
"negativo e ``y`` no es un número entero, entonces ``pow(x, y)`` no está "
"definido y se lanza una excepción :exc:`ValueError`."
"estándar IEEE 754 en la medida de lo posible. En particular, ``pow(1.0, x)`` "
"y ``pow(x, 0.0)`` siempre retornan ``1.0``, incluso cuando ``x`` es cero o "
"NaN. Si tanto ``x`` como ``y`` son finitos, ``x`` es negativo e ``y`` no es "
"un número entero, entonces ``pow(x, y)`` no está definido y se lanza una "
"excepción :exc:`ValueError`."

#: ../Doc/library/math.rst:427
msgid ""
Expand All @@ -710,6 +709,9 @@ msgid ""
"return ``inf`` instead of raising :exc:`ValueError`, for consistency with "
"IEEE 754."
msgstr ""
"Los casos especiales ``pow(0.0, -inf)`` y ``pow(-0.0, -inf)`` se cambiaron "
"para devolver ``inf`` en lugar de generar :exc:`ValueError`, por "
"consistencia con IEEE 754."

#: ../Doc/library/math.rst:439
msgid "Return the square root of *x*."
Expand Down Expand Up @@ -886,16 +888,15 @@ msgstr ""
"Funci%C3%B3n_error>`_ en *x*."

#: ../Doc/library/math.rst:579
#, fuzzy
msgid ""
"The :func:`erf` function can be used to compute traditional statistical "
"functions such as the `cumulative standard normal distribution <https://en."
"wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_functions>`_::"
msgstr ""
"La función :func:`erf` se puede utilizar para calcular funciones "
"estadísticas tradicionales como la `distribución normal estándar acumulativa "
"<https://en.wikipedia.org/wiki/"
"Normal_distribution#Cumulative_distribution_function>`_::"
"<https://es.wikipedia.org/wiki/"
"Distribuci%C3%B3n_normal#Definici%C3%B3n_formal>`_::"

#: ../Doc/library/math.rst:592
msgid ""
Expand Down Expand Up @@ -972,10 +973,16 @@ msgid ""
"check whether a number is a NaN, use the :func:`isnan` function to test for "
"NaNs instead of ``is`` or ``==``. Example::"
msgstr ""
"Un valor de punto flotante \"no es un número\" (NaN). Equivalente a la "
"salida de ``float('nan')``. Debido a los requisitos del `estándar IEEE-754 "
"<https://es.wikipedia.org/wiki/IEEE_754>`_, ``math.nan`` y ``float('nan')`` "
"no se consideran iguales a ningún otro valor numérico, incluidos ellos "
"mismos. Para verificar si un número es NaN, use la función :func:`isnan` "
"para probar NaN en lugar de ``is`` o ``==``. Ejemplo::"

#: ../Doc/library/math.rst:669
msgid "It is now always available."
msgstr ""
msgstr "Ahora está siempre disponible."

#: ../Doc/library/math.rst:677
msgid ""
Expand Down