• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelPython / dpnp / 28585342286
78%

Build:
DEFAULT BRANCH: master
Ran 02 Jul 2026 12:15PM UTC
Jobs 1
Files 258
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jul 2026 11:06AM UTC coverage: 78.11%. Remained the same
28585342286

push

github

web-flow
Improve handling of large values by inverse hyperbolic and trigonometric functions (#2928)

The `dpnp.tensor.acosh` function was returning incorrect results
(infinity) for complex numbers with large negative real parts (see
#2924, #2896).

The issue was caused by the threshold used `1/epsilon` to decide when to
switch from acos in SYCL's experimental complex extension
(`exprm_ns::acos()`) to a log-based formula.
The SYCL `exprm_ns::acos()` returns incorrect results for large negative
real parts, due to used formula `z + sqrt(z² - 1)`, which leads to
`log(0) = -infinity`.

The PR proposes to change the threshold from `1/epsilon` to
`sqrt(1/epsilon)/2` for all inverse trig/hyperbolic functions. This is
the precision loss point where `sqrt(z² ± 1)` calculations become
unstable.

Also the PR reduces code duplication by creating shared `casinh()`,
`casin()`, `catanh()`, `catan()` functions in new `complex_math.hpp`
header.

1532 of 2854 branches covered (53.68%)

Branch coverage included in aggregate %.

25994 of 32386 relevant lines covered (80.26%)

8013.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28585342286.1 02 Jul 2026 12:15PM UTC 258
78.11
GitHub Action Run
Source Files on build 28585342286
  • Tree
  • List 258
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28585342286
  • 9154e642 on github
  • Prev Build on master (#28576127532)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc