[GiNaC-devel] info() methods for transcendental functions

Richard B. Kreckel kreckel at in.terlu.de
Sat Sep 10 00:54:16 CEST 2022


Dear Vladimir,

On 9/3/22 22:59, Vladimir V. Kisil wrote:
> 	I am proposing a small patch which provides some elementary
>    info() methods to GiNaC predefined transcendental functions. Only easy
>    answers are sought, which can be decided on info tests of the functions
>    arguments. From such coarse viewpoint functions are grouped into several
>    classes and the respective routines can be shared.

Thanks for the patch; the logic is good.

But we should all heed compiler warnings! And so it turns out that the 
patch contains a really interesting typo: 'deafult' instead of 
'default'. This compiles: it's just a label due to the colon. Fixing it 
makes GCC shut up the warning "control reaches end of non-void 
function". (I first thought GCC is overly grouchy. I've never seen such 
a bug before.)

   -richy.
-- 
Richard B. Kreckel
<https://in.terlu.de/~kreckel/>



More information about the GiNaC-devel mailing list