-
https://github.com/rust-lang-nursery/libm
https://www.gnu.org/software/libc/manual/html_node/Mathematics.html ?
constant.rs, trig.rs, exponent.rs, logarithm.rs, ... ??
-
Hint that Exp, Sin, Cos, Tan, Sqrt, Pow and even / and % are expensive, especially when inside of the Update method of a MonoBehaviour.
-
I recently published a Rust [floating point math library](https://crates.io/crates/fpmath) which implements math operations (`sqrt`, `sin`, `exp`, `log`...) for both native floating point and soft-flo…
-
## What problem does this solve or what need does it fill?
As seen in #16091, floating point arithmetic can now be used in constant functions! This is a valuable API improvement, as it allows users t…
-
Attempting to use bitwise math operation in a TICKSript fails with,
**Error:**
failed to parse InfluxQL query: found &, expected FROM at line 1, char 30
**TICKScript:**
var data = batch
|query…
-
-
**Idea:**
Cast FP32/FP16 to BF16.
Casting will be different based on type:
- FP32 to BF16: truncate last 16 bits from mantissa, exponent stays the same
- FP16 to BF16: more involved process --…
-
Right now divide by 0 on Ints returns 0.
Divide by 0 on floats returns NaN.
ANY MATH OPERATIONS ON NAN THROW ERROR.
It'd be nice to find a safe way to express 0 division consistently
wende updated
6 years ago
-
I have the following MLIR program:
test.mlir:
```
module {
func.func @func1() {
%0 = arith.constant false
%1 = arith.constant true
%2 = math.ipowi %0, %1 : i1
vector.print %2…
-
The default Postgres behavior for decimal fields math operations is that the result has the precision of the maximum precision of its elements. That means, 0.333 + 0.367 is not 0.7 but 0.700:
```ts…