|
From: Bill B. <wb...@gm...> - 2006-02-24 01:46:47
|
Generally, C99 support in MSVC.NET is pretty much nil, except for maybe support for "inline" (which MS had already added prior to the C99 standard). This wikipedia article links to a quote from the Visual C++ program manager at Microsoft saying "In general we don't see a lot of deman= d for C99 features": http://en.wikipedia.org/wiki/C_programming_language#C99 So it's not clear the situtation will change any time soon. I don't know i= f VC8 is any better in its C99 support. I doubt it. Wikipedia says Borland is dragging their feet too. --Bill On 2/24/06, Bill Baxter <wb...@gm...> wrote: > > There doesn't seem to be any rint() round() or nearestint() defined in > MSVC 7.1. Can't find it in an MSDN search either. I think that's why a > lot of people in the game biz, at least, use that lrintf function written > using intrinsics that I posted a link to earlier. I first heard about th= at > on the gd-algorithms mailing list. > > --Bill > > On 2/24/06, Travis Oliphant <oli...@ie...> wrote: > > > > Sasha wrote: > > > > >Rint ufunc and ndarray metod "round" are in svn. x.round(...) is > > >about 20x faster than around(x) for decimals=3D0 and about 6x faster f= or > > >decimals>0. The case decimals<0 is slower on integers, but it > > >actually does something :-) > > > > > > > > Great job. Thanks for adding this, Sasha... > > > > I think many will enjoy using it. > > > > Regarding portability: On my system rint says it conforms to BSD 4.3. > > How portable is that? > > > > Can anyone try it out on say the MSVC compiler for windows? > > > > -Travis > > > > > > > > |