r21125 - gnucash/trunk/src/libqof/qof - Fix weird include

Christian Stimming christian at cstimming.de
Mon Aug 8 02:41:49 EDT 2011


Hi Geert,

I can answer the question why the qofmath128.c file was included directly in 
gnc-numeric.c: The hope of the author at the time was that the compiler will 
inline a bunch of those functions. They are used most extensively in this gnc-
numeric.c file and almost nowhere else. Hence, the author thought it were a 
good idea to include the C code there so that the compiler will inline as much 
of the calculation functions as possible.

I think this does make some sense.

Regards,

Christian


More information about the gnucash-devel mailing list