dimforge / dimforge/alga

Unify two `Real` types into one that is precise enough

Open
#30 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
201
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Given:

```rust
fn add(x: T, y: U) -> ??? {
x + y
}
```

I'd like to fill the `???` with either `T` or `U`, depending which one is wider. What's the alga way of unifying `Real`s in computations?

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.