Thanks. Yeah, I guess it would be a good idea to file a bug report about this at developer.blender.org. Is it ok if I use your blendfile for this, since that nicely isolates
the issue with the mod-function in eevee? I’ll first search there a bit to see if anyone has already pointed this out.
It’s a bit hard to debug things in the shader node editor, because it seems there are no nodes that allow you to inspect the output value of nodes like you can in the animation node editor (with the viewer node).