We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966167e commit fd640c0Copy full SHA for fd640c0
perf_test_suite/perf.cc
@@ -171,6 +171,15 @@ struct div_test
171
}
172
};
173
174
+struct mod_test
175
+ {
176
+ template<typename value_type>
177
+ auto operator()(value_type const & tp)
178
179
+ return fmod(tp,tp);
180
+ }
181
+ };
182
+
183
int main(int argc, char ** argv)
184
{
185
cout << test_executor<sin_test>{}("sin") << endl;
@@ -182,6 +191,7 @@ int main(int argc, char ** argv)
191
cout << test_executor<add_test>{}("add") << endl;
192
cout << test_executor<mul_test>{}("mul") << endl;
193
cout << test_executor<div_test>{}("div") << endl;
194
+ cout << test_executor<mod_test>{}("mod") << endl;
195
return EXIT_SUCCESS;
186
196
187
197
0 commit comments