Logo
Explore Help
Register Sign In
fengqi/lv_micropython
1
0
Fork 0
You've already forked lv_micropython
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
lv_micropython/tests/float/math_domain_python311.py.exp

6 lines
145 B
Plaintext
Raw Normal View History

tests/float: Test domain errors for more combos of args to math funcs. Instead of having a special set of arguments to test for each math-module function, just test all functions with all sets of arguments. This gives improved test cases to prevent regressions. Signed-off-by: Damien George <damien@micropython.org>
2023-06-16 12:08:34 +10:00
pow(0.0000, -inf) = inf
log(0.0000, -inf) = ValueError
fmod(0.0000, -inf) = 0.0000
atan2(0.0000, -inf) = 3.1416
copysign(0.0000, -inf) = -0.0000
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 62ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API