Pharap

Results 33 issues of Pharap

While it's completely possible to implement this in plain Lua, it's a fair bit of effort on the user's part. Having this functionality as part of the library would be...

I was reading the Minecraft Wiki article about Brigadier which states: > `/execute run` redirects to the root node of the vanilla command dispatcher Which implies that the command 'tree'...

Aparently cases of `>> 8`, `>> 16` and `>>32` aren't being optimised to simply drop the bytes as I was originally expecting. This isn't much of an issue for more...

Feature Request
Minor

At present there's a strong possibility that the compiler does not optimise fixed points defined with a zero-width fraction part due to the extra operations required for fractional fixed points....

Minor
Optimisation

Add template aliases `SQ` and `UQ` to `FixedPointsCommon.h`. These would effectively serve as a more convinient short-hand for those who are familiar with [Q notation](https://en.wikipedia.org/wiki/Q_(number_format)) and would probably be direct...

Feature Request
Minor

There are times where it may be useful to be able to represent fixed points using notation other than the conventional [Q format](https://en.wikipedia.org/wiki/Q_(number_format)). For example, it may be useful to...

Feature Request
Minor

I'm getting a little fed up with having to put `static_cast` everywhere when debugging so I'd like to find a means to print fixed points. Implementing printing in fractional form...

Feature Request
Minor

At the moment the named constants (such as `E`, `Pi`, `Tau` and `Phi`) are `static` class members of `SFixed` and `UFixed`. From a maintenance point of view, it would be...

Minor
Quality

Following the current style of not defining functions inside the main body of the class, this would mean that there would be fewer member functions kept inside the class. This...

Major
Quality

This change would have two potential benefits: * The undefined behaviour eminating from `

Patch
Optimisation
Improvement