Special cases for +/- 0 around branch cuts

Open
#570 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Domain
documentation

Research direction

Start with the discussion in PR 514, then review the existing text about conj(f(x)) == f(conj(x)) and the asinh example. Define notation covering +/- 0 on branch cuts on both the real and imaginary axes; done means the specification explicitly handles the stated special cases.

Written by the indexing model from the issue text.

Description

Narrative Content

We should notate that +/- 0 should give the corresponding side of the branch on a branch cut. See the discussion at https://github.com/data-apis/array-api/pull/514#issuecomment-1347566538. For cuts on the real axis this should more or less be covered by the text about conj(f(x)) == f(conj(x)), but there are also functions with cuts on the imaginary axis (like asinh).

Dominant language
Python
Stars
281
Forks
52
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from data-apis/array-api

All issues in data-apis/array-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.