On Wed, 2022-11-23 at 22:47 +0100, Pavel Sanda wrote:
> +#else
> +#define qDegreesToRadians(degree) (degree * (M_PI / 180))
> +#endif

Probably here it does not mater but in general the safer version would
be to move the parenthesis from right to let, i.e.

 (degree) * M_PI/180

I am thinking about examples like qDegreesToRadians(a+b)

Best regards,
-- 
José Abílio
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to