-
### Proposal Details
I propose the addition of the following constants to the math package:
```go
const (
// Float32SignificandBits is the number of bits in the significand
// for a IEE…
dsnet updated
6 months ago
-
### What feature would you like to see?
In order to have closer parity with the existing supported integer types, it would be helpful to have access to other common floating point types such as 16 (h…
-
### Background and motivation
This is a restructuring of the original API proposal here: https://github.com/dotnet/runtime/issues/69777
The existing `System.Decimal` type does not conform to the…
-
The `_prec` value here should be 3, but instead it is 53 just like for a non-subnormal IEEE754 double.
```python
In [24]: d = 5 * np.finfo(np.float64).smallest_subnormal
In [27]: Float(d)._mpf_…
-
## 为什么不精确:
js中浮点运算,例如:
``` js
0.1 + 0.2
// 0.30000000000000004
```
无法得到预期结果 `0.3` ,
> 不仅在 JavaScript 中存在这个「问题」,所有的支持二进制浮点数运算(绝大部分都是 [IEEE 754](https://zh.wikipedia.org/wiki/IEEE_754) 的实现)的系统都存在这个现…
-
After room version 6, "strong" enforcement of canonical JSON was specced for event JSONs, which outlaws float values, `NaN`, `Infinity` and `-Infinity`.
In room versions 5 and below, these are uncl…
-
_Перенос предложения:_ голоса +0, -5
_Автор идеи:_ **Мартынов Иван** @VanyaClassicTGN
Доброго времени суток, друзья.
Хочется забыть о fuzzy_compare в пользовательском коде приложений. Хочется з…
-
https://github.com/python/cpython/blob/main/Lib/test/test_math.py#L794-L871
We (SUSE) have test `self.assertEqual(hypot(1, -1), math.sqrt(2))` failing on some distros and some architectures (namely…
mcepl updated
1 month ago
-
### Bug Description
When executing the `fsqrt.d` instruction on a double-precision floating-point value representing positive infinity (0x7ff0000000000000), the Overflow (OF) flag in the fflags reg…
-
| | |
|--------------------|----|
| Bugzilla Link | [PR17005](https://bugs.llvm.org/show_bug.cgi?id=17005) |
| Status | NEW |
| Importance | P enhancemen…