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: jorrit
Type: defect | Status: new
Priority: major | Milestone:
Component: general | Version: V2.0
Keywords: portability configure check |
-----------------------------------------+----------------------------------
Description changed by vknecht:
Old description:
> It seems fabsl() is not available on some platforms like ARM "because"
> `double` and `long double` have the same size.[[BR]]
> fabsl() is currently used in 2.0 in :[[BR]]
> `plugins/physics/bullet/colliders.cpp`[[BR]]
> and in 2.1 also in :[[BR]]
> `plugins/physics2/bullet/colliders2.cpp`[[BR]]
>
> fabs() should be used instead.
New description:
It seems fabsl() is not available on some platforms like ARM "because"
`double` and `long double` are the same.[[BR]]
fabsl() is currently used in 2.0 in :[[BR]]
`plugins/physics/bullet/colliders.cpp`[[BR]]
and in 2.1 also in :[[BR]]
`plugins/physics2/bullet/colliders2.cpp`[[BR]]
fabs() should be used instead.
--
--
Ticket URL: <https://www.crystalspace3d.org/trac/CS/ticket/951#comment:1>
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