Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

fma_msvc

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,34 sec, absolute service time: 1,38 sec 
edit mode |  history
Error(s):
source_file.cpp(22): error C2668: 'fma': ambiguous call to overloaded function
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\cmath(448): note: could be 'long double fma(long double,long double,long double) noexcept'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\cmath(151): note: or       'float fma(float,float,float) noexcept'
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\math.h(494): note: or       'double fma(double,double,double)'
source_file.cpp(18): note: or       'foo fma<foo,foo,foo,0>(T &&,U &&,V &&)'
        with
        [
            T=foo,
            U=foo,
            V=foo
        ]
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xtgmath.h(146): note: or       'float fma<foo,foo,foo>(_Ty1,_Ty2,_Ty3)'
        with
        [
            _Ty1=foo,
            _Ty2=foo,
            _Ty3=foo
        ]
source_file.cpp(22): note: while trying to match the argument list '(foo, foo, foo)'
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64

        

    
                
λ
.NET NoSQL database for rapid development