Previous 199869 Revisions Next

r26681 Saturday 21st December, 2013 at 09:48:17 UTC by smf
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)
[src/emu/netlist/devices]nld_twoterm.h

trunk/src/emu/netlist/devices/nld_twoterm.h
r26680r26681
219219        }
220220        else
221221        {
222#if defined(_MSC_VER) && _MSC_VER < 1200
222#if defined(_MSC_VER) && _MSC_VER < 1800
223223            m_Vd = m_Vd + log((nVd - m_Vd) * m_VtInv + 1.0) * m_Vt;
224224#else
225225            m_Vd = m_Vd + log1p((nVd - m_Vd) * m_VtInv) * m_Vt;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team