Sukera
Sukera
Well I did not copy in the reproducer above, see the expanding thingy part labelled `Expand for session`. I just didn't put the pure `Array` one into that as well,...
Perhaps it has to do with my CPU/julia/LLVM version? ``` julia> versioninfo() Julia Version 1.9.0-DEV.724 Commit 95be1a4797* (2022-06-12 06:35 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: 4 × Intel(R) Core(TM)...
That doesn't really explain it when I explicitly make them the same: ```julia [sukera@tempman vulkanAdventures]$ julia -q (@v1.9) pkg> activate --temp Activating new project at `/tmp/jl_bhGm2a` (jl_bhGm2a) pkg> add StaticArrays...
You're right! ``` julia> bitstring.(lookMat) .== bitstring.(lookMatS) 4×4 BitMatrix: 1 1 1 1 0 0 1 0 0 0 0 0 1 1 1 1 ``` that seems.. not good?...
The difference does, but the wrong result does not: ```julia [sukera@tempman ~]$ julia -q julia> using LinearAlgebra julia> function lookAt(eye, target, up) # up is local up of the camera...
Well the 64 bit version is accurate, if I'm not mistaken, according to our investigation here :| Would be interesting to know where the inaccuracy comes from.
Yes, the underlying issue was that roundoff, but the larger discussion is why the code produced a different result when comparing `Array` vs. `StaticArray`, which shouldn't be the case I...
I don't know who originally came up with the `Sampler` interface, and while it seems to be a perfect fit, it's documentation really is a bit terse.. Would be really...
Looking back at [where the various generators](https://github.com/JuliaLang/julia/blob/master/stdlib/Random/src/generation.jl) are defined, I really don't think the version above is good/proper. That at least has some more comments about how samplers work, maybe...
Yeah, I wasn't quite sure where to put it, since it's kind of arrays but also not really since it's truly about the type of the literals here 🤔 I'll...