معرفی شرکت ها


cairo-math-64x61-2.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Fixed point 64.61 math library for Cairo / Starknet
ویژگی مقدار
سیستم عامل OS Independent
نام فایل cairo-math-64x61-2.1.0
نام cairo-math-64x61
نسخه کتابخانه 2.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده "Unstoppable Games, Inc." <info@unstoppablegames.io>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/cairo-math-64x61/
مجوز MIT License Copyright (c) 2022 Unstoppable Games, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[![PyPI version](https://badge.fury.io/py/cairo_math_64x61.svg)](https://badge.fury.io/py/cairo_math_64x61) # Cairo Math 64x61 A fixed point 64.61 math library for Cairo & Starknet. ## Usage ## Install with `pip install cairo_math_64x61` and import and use with `from cairo_math_64x61.math64x61 import Math64x61`. Previous installation as an npm module has been deprecated, the last available npm module is `v1.2.0`. Starting with `v2.0.0` the library utilizes Cairo 0.10 syntax and simplifies return values from objects to simple felts wherever possible. ## Signed 64.61 Fixed Point Numbers ## A signed 64.61-bit fixed point number is a fraction in which the numerator is a signed 125-bit integer and the denominator is 2^61. Since the denominator stays the same there is no need to store it (as in a floating point value). 64.61 is utilized as the 125 bit representation allows for overflow up to 2^125 * 2^125 (250 bits) during calculation taking advantage of Cairo's 251 bit felts. Can represent values in the range of -2^64 to 2^64 with precision to 4.34e-19. ## Standard Library ## `Math64x61` includes implementation of `add`, `sub`, `mul`, `div`, `sqrt`, `exp`, `ln`, `log2`, `log10`, and `pow` as well as conversion to / from felts and Uint256 values, `floor`, `ceil`, `min`, `max` and assertion methods. ## Trigonometry Library ## `Trig64x61` includes implementation of `sin`, `cos`, `tan` and their inverses. ## Hyperbolic Library ## `Hyp64x61` includes implementation of `sinh`, `cosh`, `tanh`, and their inverses. ## Vector Library ## `Vec64x61` includes implementation of vector arithmetic (`add`, `sub`, `div`), dot product (`dot`), cross product (`cross`) and `norm`.


زبان مورد نیاز

مقدار نام
>=3.9 Python


نحوه نصب


نصب پکیج whl cairo-math-64x61-2.1.0:

    pip install cairo-math-64x61-2.1.0.whl


نصب پکیج tar.gz cairo-math-64x61-2.1.0:

    pip install cairo-math-64x61-2.1.0.tar.gz