validation: update sm_math1.c