| 305 | } |
| 306 | |
| 307 | std::string |
| 308 | SafeOpFlags::safe_float_func_string(enum eBinaryOps op) const |
| 309 | { |
| 310 | string s; |
| 311 | switch (op) { |
| 312 | case eAdd: s = "safe_add_"; break; |
| 313 | case eSub: s = "safe_sub_"; break; |
| 314 | case eMul: s = "safe_mul_"; break; |
| 315 | case eDiv: s = "safe_div_"; break; |
| 316 | default: assert(0); break; |
| 317 | } |
| 318 | s += "func_float_f_f"; |
| 319 | return s; |
| 320 | |
| 321 | } |
| 322 | |
| 323 | /* find the safe math function/macro name */ |
| 324 | std::string |
nothing calls this directly
no outgoing calls
no test coverage detected