diff --git a/src/mame/video/xbox_nv2a.cpp b/src/mame/video/xbox_nv2a.cpp index 86199e84c24..cdc75a5fa4b 100644 --- a/src/mame/video/xbox_nv2a.cpp +++ b/src/mame/video/xbox_nv2a.cpp @@ -845,9 +845,6 @@ void vertex_program_simulator::compute_scalar_operation(float t_out[4], int inst t_out[0] = t_out[1] = t_out[2] = t_out[3] = t.f; break; case 4: // "RSQ" - /* - * NOTE: this was abs which is "int abs(int x)" - and changed to fabsf due to clang 3.6 warning - */ t_out[0] = t_out[1] = t_out[2] = t_out[3] = 1.0f / sqrtf(fabsf(par_in[p3_C + 0])); break; case 5: // "EXP" @@ -862,9 +859,6 @@ void vertex_program_simulator::compute_scalar_operation(float t_out[4], int inst t_out[1] = frexp(par_in[p3_C + 0], &e)*2.0; // frexp gives mantissa as 0.5....1 t_out[0] = e - 1; #ifndef __OS2__ - /* - * NOTE: this was abs which is "int abs(int x)" - and changed to fabsf due to clang 3.6 warning - */ t.f = log2(fabsf(par_in[p3_C + 0])); #else static double log_2 = 0.0;