--- a/src/Utils.h Mon Jan 09 17:03:19 2023 +0100 +++ b/src/Utils.h Tue Jan 10 16:56:21 2023 +0100 @@ -29,6 +29,14 @@ double estimate_sg(double sugars, double batch_size); /** + * @brief Return log with custom base. + * @param y The input value. + * @param b The base to use. + * @return The log result. + */ + double logbase(double y, int b); + + /** * @brief Predict FG using recipe data. * @param psugar Percentage sugar in the wort. * @param pcara Percentage cara/crystal malts in the wort.