cokernel_hacker
cokernel_hacker on Hacker News
"The Geometry of Color in the Light of a Non-Riemannian Space"
VHDL's Crown Jewel
U+237C ⍼ Is Azimuth
Variable interpolatable smooth curves and outlines
This seems to imply that what is or is not a chair is a subjective or conditional.
https://support.apple.com/en-us/108351
https://www.audiosciencereview.com/forum/index.php?threads/r...
The non-Riemannian nature of perceptual color space
Intel has DOIT: https://www.intel.com/content/www/us/en/developer/articles/t...
The idea is that the processor will not take shortcuts that take advantage of the values it is processing. For example, a 64-bit division cannot shortcut if the operands are both small, etc.
EUV LLC: An Historical Perspective
typedef int (*pfn)(void);
int g(void);
int h(void);
pfn f(double x) {
switch ((long long)x) {
case 0:
return g;
case 17:
return h;
}
}
If I understand your perspective correctly, `f` should return whatever happens to be in rax if the caller does not pass in a number which truncates to 0 or 17? int f(int x) {
switch (x) {
case 0:
return 31;
case 1:
return 28;
case 2:
return 30;
}
}
This code on its own has no undefined behavior.In another translation unit, someone calls `f(3)`. What would you have compilers do in that case?
That path through the program has undefined behavior. However, the two translation units are separate and as such normal tooling will not be able to detect any sort of UB without some kind of whole program static analysis or heavy instrumentation which would harm performance.
int f(int x) {
static int y[] = {42, 43};
return y[x];
}
What behavior should `f(-1)` or `f(100)` have? What is sensible?