JuliaMath / JuliaMath/Infinities.jl

distinct types for positive and negative (Real) infinity

Open
#5 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
22
Forks
10
Avg merge
1d 4h
Merged PRs (30d)
7

Description

In order to make use of this package for TransformVariables.jl, I would like to ask for distinct types for *positive* and *negative* (real) infinity, ideally accessible with `∞` and `-∞`. I need types I can dispatch on for type stability.

Basically [this code](https://github.com/tpapp/TransformVariables.jl/blob/260ea7ecf987435b3289d5d68fb90202182ff262/src/scalar.jl#L137-L149) does what I need.

(cf [discussion](https://discourse.julialang.org/t/name-collision/55033/8?u=tamas_papp))

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.