📄 expr.c
字号:
break; case FFEINFO_basictypeCOMPLEX: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okCOMPLEX1 case FFEINFO_kindtypeREAL1: error = ffetarget_convert_integer3_complex1 (ffebld_cu_ptr_integer3 (u), ffebld_constant_complex1 (ffebld_conter (l))); break;#endif#if FFETARGET_okCOMPLEX2 case FFEINFO_kindtypeREAL2: error = ffetarget_convert_integer3_complex2 (ffebld_cu_ptr_integer3 (u), ffebld_constant_complex2 (ffebld_conter (l))); break;#endif#if FFETARGET_okCOMPLEX3 case FFEINFO_kindtypeREAL3: error = ffetarget_convert_integer3_complex3 (ffebld_cu_ptr_integer3 (u), ffebld_constant_complex3 (ffebld_conter (l))); break;#endif#if FFETARGET_okCOMPLEX4 case FFEINFO_kindtypeREAL4: error = ffetarget_convert_integer3_complex4 (ffebld_cu_ptr_integer3 (u), ffebld_constant_complex4 (ffebld_conter (l))); break;#endif default: assert ("INTEGER3/COMPLEX bad source kind type" == NULL); break; } break; case FFEINFO_basictypeLOGICAL: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okLOGICAL1 case FFEINFO_kindtypeLOGICAL1: error = ffetarget_convert_integer3_logical1 (ffebld_cu_ptr_integer3 (u), ffebld_constant_logical1 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL2 case FFEINFO_kindtypeLOGICAL2: error = ffetarget_convert_integer3_logical2 (ffebld_cu_ptr_integer3 (u), ffebld_constant_logical2 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL3 case FFEINFO_kindtypeLOGICAL3: error = ffetarget_convert_integer3_logical3 (ffebld_cu_ptr_integer3 (u), ffebld_constant_logical3 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL4 case FFEINFO_kindtypeLOGICAL4: error = ffetarget_convert_integer3_logical4 (ffebld_cu_ptr_integer3 (u), ffebld_constant_logical4 (ffebld_conter (l))); break;#endif default: assert ("INTEGER3/LOGICAL bad source kind type" == NULL); break; } break; case FFEINFO_basictypeCHARACTER: error = ffetarget_convert_integer3_character1 (ffebld_cu_ptr_integer3 (u), ffebld_constant_character1 (ffebld_conter (l))); break; case FFEINFO_basictypeHOLLERITH: error = ffetarget_convert_integer3_hollerith (ffebld_cu_ptr_integer3 (u), ffebld_constant_hollerith (ffebld_conter (l))); break; case FFEINFO_basictypeTYPELESS: error = ffetarget_convert_integer3_typeless (ffebld_cu_ptr_integer3 (u), ffebld_constant_typeless (ffebld_conter (l))); break; default: assert ("INTEGER3 bad type" == NULL); break; } /* If conversion operation is not implemented, return original expr. */ if (error == FFEBAD_NOCANDO) return expr; expr = ffebld_new_conter_with_orig (ffebld_constant_new_integer3_val (ffebld_cu_val_integer3 (u)), expr); break;#endif#if FFETARGET_okINTEGER4 case FFEINFO_kindtypeINTEGER4: switch (ffeinfo_basictype (ffebld_info (l))) { case FFEINFO_basictypeINTEGER: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okINTEGER1 case FFEINFO_kindtypeINTEGER1: error = ffetarget_convert_integer4_integer1 (ffebld_cu_ptr_integer4 (u), ffebld_constant_integer1 (ffebld_conter (l))); break;#endif#if FFETARGET_okINTEGER2 case FFEINFO_kindtypeINTEGER2: error = ffetarget_convert_integer4_integer2 (ffebld_cu_ptr_integer4 (u), ffebld_constant_integer2 (ffebld_conter (l))); break;#endif#if FFETARGET_okINTEGER3 case FFEINFO_kindtypeINTEGER3: error = ffetarget_convert_integer4_integer3 (ffebld_cu_ptr_integer4 (u), ffebld_constant_integer3 (ffebld_conter (l))); break;#endif default: assert ("INTEGER4/INTEGER bad source kind type" == NULL); break; } break; case FFEINFO_basictypeREAL: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okREAL1 case FFEINFO_kindtypeREAL1: error = ffetarget_convert_integer4_real1 (ffebld_cu_ptr_integer4 (u), ffebld_constant_real1 (ffebld_conter (l))); break;#endif#if FFETARGET_okREAL2 case FFEINFO_kindtypeREAL2: error = ffetarget_convert_integer4_real2 (ffebld_cu_ptr_integer4 (u), ffebld_constant_real2 (ffebld_conter (l))); break;#endif#if FFETARGET_okREAL3 case FFEINFO_kindtypeREAL3: error = ffetarget_convert_integer4_real3 (ffebld_cu_ptr_integer4 (u), ffebld_constant_real3 (ffebld_conter (l))); break;#endif#if FFETARGET_okREAL4 case FFEINFO_kindtypeREAL4: error = ffetarget_convert_integer4_real4 (ffebld_cu_ptr_integer4 (u), ffebld_constant_real4 (ffebld_conter (l))); break;#endif default: assert ("INTEGER4/REAL bad source kind type" == NULL); break; } break; case FFEINFO_basictypeCOMPLEX: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okCOMPLEX1 case FFEINFO_kindtypeREAL1: error = ffetarget_convert_integer4_complex1 (ffebld_cu_ptr_integer4 (u), ffebld_constant_complex1 (ffebld_conter (l))); break;#endif#if FFETARGET_okCOMPLEX2 case FFEINFO_kindtypeREAL2: error = ffetarget_convert_integer4_complex2 (ffebld_cu_ptr_integer4 (u), ffebld_constant_complex2 (ffebld_conter (l))); break;#endif#if FFETARGET_okCOMPLEX3 case FFEINFO_kindtypeREAL3: error = ffetarget_convert_integer4_complex3 (ffebld_cu_ptr_integer4 (u), ffebld_constant_complex3 (ffebld_conter (l))); break;#endif#if FFETARGET_okCOMPLEX4 case FFEINFO_kindtypeREAL4: error = ffetarget_convert_integer4_complex4 (ffebld_cu_ptr_integer4 (u), ffebld_constant_complex4 (ffebld_conter (l))); break;#endif default: assert ("INTEGER3/COMPLEX bad source kind type" == NULL); break; } break; case FFEINFO_basictypeLOGICAL: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okLOGICAL1 case FFEINFO_kindtypeLOGICAL1: error = ffetarget_convert_integer4_logical1 (ffebld_cu_ptr_integer4 (u), ffebld_constant_logical1 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL2 case FFEINFO_kindtypeLOGICAL2: error = ffetarget_convert_integer4_logical2 (ffebld_cu_ptr_integer4 (u), ffebld_constant_logical2 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL3 case FFEINFO_kindtypeLOGICAL3: error = ffetarget_convert_integer4_logical3 (ffebld_cu_ptr_integer4 (u), ffebld_constant_logical3 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL4 case FFEINFO_kindtypeLOGICAL4: error = ffetarget_convert_integer4_logical4 (ffebld_cu_ptr_integer4 (u), ffebld_constant_logical4 (ffebld_conter (l))); break;#endif default: assert ("INTEGER4/LOGICAL bad source kind type" == NULL); break; } break; case FFEINFO_basictypeCHARACTER: error = ffetarget_convert_integer4_character1 (ffebld_cu_ptr_integer4 (u), ffebld_constant_character1 (ffebld_conter (l))); break; case FFEINFO_basictypeHOLLERITH: error = ffetarget_convert_integer4_hollerith (ffebld_cu_ptr_integer4 (u), ffebld_constant_hollerith (ffebld_conter (l))); break; case FFEINFO_basictypeTYPELESS: error = ffetarget_convert_integer4_typeless (ffebld_cu_ptr_integer4 (u), ffebld_constant_typeless (ffebld_conter (l))); break; default: assert ("INTEGER4 bad type" == NULL); break; } /* If conversion operation is not implemented, return original expr. */ if (error == FFEBAD_NOCANDO) return expr; expr = ffebld_new_conter_with_orig (ffebld_constant_new_integer4_val (ffebld_cu_val_integer4 (u)), expr); break;#endif default: assert ("bad integer kind type" == NULL); break; } break; case FFEINFO_basictypeLOGICAL: sz = FFETARGET_charactersizeNONE; switch (kt = ffeinfo_kindtype (ffebld_info (expr))) {#if FFETARGET_okLOGICAL1 case FFEINFO_kindtypeLOGICAL1: switch (ffeinfo_basictype (ffebld_info (l))) { case FFEINFO_basictypeLOGICAL: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okLOGICAL2 case FFEINFO_kindtypeLOGICAL2: error = ffetarget_convert_logical1_logical2 (ffebld_cu_ptr_logical1 (u), ffebld_constant_logical2 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL3 case FFEINFO_kindtypeLOGICAL3: error = ffetarget_convert_logical1_logical3 (ffebld_cu_ptr_logical1 (u), ffebld_constant_logical3 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL4 case FFEINFO_kindtypeLOGICAL4: error = ffetarget_convert_logical1_logical4 (ffebld_cu_ptr_logical1 (u), ffebld_constant_logical4 (ffebld_conter (l))); break;#endif default: assert ("LOGICAL1/LOGICAL bad source kind type" == NULL); break; } break; case FFEINFO_basictypeINTEGER: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okINTEGER1 case FFEINFO_kindtypeINTEGER1: error = ffetarget_convert_logical1_integer1 (ffebld_cu_ptr_logical1 (u), ffebld_constant_integer1 (ffebld_conter (l))); break;#endif#if FFETARGET_okINTEGER2 case FFEINFO_kindtypeINTEGER2: error = ffetarget_convert_logical1_integer2 (ffebld_cu_ptr_logical1 (u), ffebld_constant_integer2 (ffebld_conter (l))); break;#endif#if FFETARGET_okINTEGER3 case FFEINFO_kindtypeINTEGER3: error = ffetarget_convert_logical1_integer3 (ffebld_cu_ptr_logical1 (u), ffebld_constant_integer3 (ffebld_conter (l))); break;#endif#if FFETARGET_okINTEGER4 case FFEINFO_kindtypeINTEGER4: error = ffetarget_convert_logical1_integer4 (ffebld_cu_ptr_logical1 (u), ffebld_constant_integer4 (ffebld_conter (l))); break;#endif default: assert ("LOGICAL1/INTEGER bad source kind type" == NULL); break; } break; case FFEINFO_basictypeCHARACTER: error = ffetarget_convert_logical1_character1 (ffebld_cu_ptr_logical1 (u), ffebld_constant_character1 (ffebld_conter (l))); break; case FFEINFO_basictypeHOLLERITH: error = ffetarget_convert_logical1_hollerith (ffebld_cu_ptr_logical1 (u), ffebld_constant_hollerith (ffebld_conter (l))); break; case FFEINFO_basictypeTYPELESS: error = ffetarget_convert_logical1_typeless (ffebld_cu_ptr_logical1 (u), ffebld_constant_typeless (ffebld_conter (l))); break; default: assert ("LOGICAL1 bad type" == NULL); break; } /* If conversion operation is not implemented, return original expr. */ if (error == FFEBAD_NOCANDO) return expr; expr = ffebld_new_conter_with_orig (ffebld_constant_new_logical1_val (ffebld_cu_val_logical1 (u)), expr); break;#endif#if FFETARGET_okLOGICAL2 case FFEINFO_kindtypeLOGICAL2: switch (ffeinfo_basictype (ffebld_info (l))) { case FFEINFO_basictypeLOGICAL: switch (ffeinfo_kindtype (ffebld_info (l))) {#if FFETARGET_okLOGICAL1 case FFEINFO_kindtypeLOGICAL1: error = ffetarget_convert_logical2_logical1 (ffebld_cu_ptr_logical2 (u), ffebld_constant_logical1 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL3 case FFEINFO_kindtypeLOGICAL3: error = ffetarget_convert_logical2_logical3 (ffebld_cu_ptr_logical2 (u), ffebld_constant_logical3 (ffebld_conter (l))); break;#endif#if FFETARGET_okLOGICAL4 case FFEINFO_kindtypeLOGICAL4: error = ffetarget_convert_logical2_logical4
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -