Casting the detect food spell never incurs a hunger penalty. Also, if casting a spell would put you at three or less nutrition, your nutrition is set instead to three. Hunger cost is rounded down: for example, casting a level 1 spell with 16 intelligence costs only 2 nutrition.[2]