On Fri, 17 Sep 2021 16:55:05 +0100
"J. Gareth Moreton via fpc-devel" <fpc-devel@lists.freepascal.org> wrote:

> Hi everyone,
> 
> I have a question for third-party developers, especially mathematical, 
> scientific and games programmers...
> 
> How often would you use a construct akin to "case x mod n of", where n 
> is a constant and not a power of 2?  I ask because while I wait for my 
> "(x mod n) = 0" optimisation to be approved, I've discovered that it 
> could be extended to cover remainders other than 0.
> ...
> 
> Gareth aka. Kit

As a kind of game programmer, I don't think I've ever used a case something
mod something. I'm not sure in what situation this construct would be
useful...

~Kirinn
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to