-
```c
#define ADVANCE(ptr,n,m) ptr + n * m
```
In general, I think that HM-like inference is not the right approach for macros. That's C after all, where `"foo" + 1` is a type correct expression, …
-
### Description
When folding constants before a query is properly evaluated, date math arithmetic exceptions result in an error message in the REST response whereas other arithmetic exceptions only r…
-
https://opendylan.org/documentation/library-reference/language-extensions/numbers.html#the-generic-arithmetic-library needs a lot of love.
* Much of it hasn't been fully updated to Sphinx markup
*…
-
**Summary**
- Make `Integer.float` more liberal, allowing conversions whenever they are exact.
- Introduce an `Integer.nearestFloat` to allow lossy conversions to Float.
**Details**
During the review…
ePaul updated
9 years ago
-
```diff
--- a/src/libasr/ASR.asdl
+++ b/src/libasr/ASR.asdl
@@ -343,6 +343,8 @@ expr
ttype
= Integer(int kind, dimension* dims)
+ | BitVector(int kind, dimension* dims)
+ | Modul…
-
An idea that has been kicking around for years, but never written down:
The current definition of `int` (and correspondingly `uint`) is that it is either 32 or 64 bits. This causes a variety of pro…
-
## 집현전 최신반 스터디
- 2022년 4월 10일 일요일 10시
- 김보성님 김수연님 김진환님 발표
- 논문 링크: https://arxiv.org/abs/2101.01321
> ### Abstract
> Transformer based models, like BERT and RoBERTa, have achieved state-of-the-…
-
The following code crashes in Sage v7.2 with a ZeroDivisionError:
```
V = FreeModule(Zmod(3^10), 1)
v = V.gen(0)
x = v * v
x.valuation(3)
```
The variable x is just 1 (mod 310), and if you just do …
-
### Tested versions
- Reproducible in v4.3.stable.flathub [77dcf97d82cbfe4e4615475fa52ca03da645dbd8]
### System information
Godot v4.3.stable (77dcf97d8) - Freedesktop SDK 23.08 (Flatpak runt…
-
[RFC PR #161](https://github.com/rust-lang/rfcs/pull/161/files?short_path=e5dd6d3#integer-type-style-guidelines) proposes some style guidelines, but the details depend on the acceptance and implementa…