restrict the integer to i32 and float point type to single FP