all of ingredient.h
only given tests used
compile with -lm