mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
fix for MSVC, I provided the wrong version number to couriers (Visual Studio 2013 is 1800 & I believe that supports log1p but I haven't tested it yet) (nw)
This commit is contained in:
parent
dafb99627b
commit
e4f1f41a2a
@ -219,7 +219,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1200
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1800
|
||||
m_Vd = m_Vd + log((nVd - m_Vd) * m_VtInv + 1.0) * m_Vt;
|
||||
#else
|
||||
m_Vd = m_Vd + log1p((nVd - m_Vd) * m_VtInv) * m_Vt;
|
||||
|
Loading…
Reference in New Issue
Block a user