Re: [CrystalSpace] #951: Check for fabsl() availability
"CrystalSpace" <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.tracker |
|---|---|
| Message-ID | <[email protected]> |
#951: Check for fabsl() availability
-----------------------------------------+----------------------------------
Reporter: vknecht | Owner: kickvb
Type: defect | Status: assigned
Priority: major | Milestone:
Component: general | Version: V2.0
Keywords: portability configure check |
-----------------------------------------+----------------------------------
Comment(by res):
Simplest may actually be to use STL function `std::fabs()`, which has
overloads for `float` and `double` arguments.
But I'm not sure if it's available on all supported compilers. If it turns
out it isn't, we can still write our own overloaded `fabs`-like function.
--
Ticket URL: <http://crystalspace3d.org/trac/CS/ticket/951#comment:7>
CrystalSpace <http://www.crystalspace3d.org/>
Free open-source 3D SDK.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d