added codegen for numeric inquiry intrinsics