Changes to vvp/vpi_vthr_vector.cc
Changed for "Microsoft Visual Studio Express 2015 RC Web" so gold files would match.
This commit is contained in:
parent
b36a0a2c54
commit
afd225a44d
|
|
@ -115,7 +115,14 @@ static void vthr_real_get_value(vpiHandle ref, s_vpi_value*vp)
|
|||
break;
|
||||
|
||||
case vpiDecStrVal:
|
||||
#if !defined(__GNUC__)
|
||||
if (isnan(val))
|
||||
sprintf(rbuf, "%s", "nan");
|
||||
else
|
||||
sprintf(rbuf, "%0.0f", val);
|
||||
#else
|
||||
sprintf(rbuf, "%0.0f", val);
|
||||
#endif
|
||||
vp->value.str = rbuf;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue