-
LINQ's built-in "Union", "Except" and "Intersect" are somewhat odd among LINQ operators, as most others deal simply with enumerable collections, while these three treat enumerables as proper mathemati…
-
Mathematical expressions use an inconsistent mix of both formatting (spaces) and characters.
Examples for space inconsistencies (copy view):
* “length / (r1 + r2)” uses spaces between operators
…
-
Inspired by a mastodon post about the behavior of
```r
NA + NaN
```
And
```r
NaN + NA
```
in R
-
```
What steps will reproduce the problem?
1. Code example:
unsigned long dwMask = 0xFFFFFFFF;
dwMask >>= 1;
printf("Result: 0x%08X\n", dwMask);
2. The displayed result will be:
Result: 0x…
-
Negative conditionals are conditional expressions that use the logical negation operator `!` to invert the value of a boolean expression.
For example, the following code uses a negative conditional:
…
-
On almost any addition (say `VarUInteger(1)+VarUInteger(1)`) an exception is thrown from `plus` in line `45`
https://github.com/andreypfau/ton-kotlin/blob/b1edc4b134e89ccf252149f27c85fd530377cebe/t…
-
We currently have the following element access operators overloaded:
``Tensor``: [i]
``Point``: [i] and (i)
``SparseMatrix``, ... : (i,j)
``Vector``, ``BlockVector``, ...: [i] and (i)
``Table``: …
tjhei updated
9 months ago
-
In this example:
```c++
olc::vi2d a{100,100};
olc::vi2d b = a * 0.7;
olc::vi2d c = 0.7 * a;
```
`b` will not equal `c`.
This is because the two operators are not doing the same mathematical o…
-
In reason, mod worked as an operator `assert(4 mod 3 === 1)`.
Had a devil of a time realizing that, while still in Pervasives, rescript modulo must be used as a function `assert(mod(4, 3) === 1)`
…
-
```
What steps will reproduce the problem?
1. Code example:
unsigned long dwMask = 0xFFFFFFFF;
dwMask >>= 1;
printf("Result: 0x%08X\n", dwMask);
2. The displayed result will be:
Result: 0x…