Skip to content
Snippets Groups Projects
Commit 6d524892 authored by Marcel Koch's avatar Marcel Koch
Browse files

adds C++ function for FMS

parent 2999d749
No related branches found
No related tags found
No related merge requests found
......@@ -13,4 +13,10 @@ inline T mul_add(T op1, T op2, T op3)
return op1 * op2 + op3;
}
template<typename T>
inline T mul_sub(T op1, T op2, T op3)
{
return op1 * op2 - op3;
}
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment