Dirk Reiners wrote:
> Hi Carsten,
>> Do we actually need Real128 (a grep over svn trunk shows they are used
>> nowhere outside the base dir) ? Or maybe we should rename them to Real96 ?
>
> Hm. I really though they were 128 bit, but if they're not, and they're
> differing between platforms, I would probably take them out.
Meanwhile I learned a bit more about this issue. It appears that most
hardware uses an 80 bit extended floating point format (which from C/C++
can be accesses as long double). One notable derivation from this
popular scheme is IA64 (Itanium) that has 82 bit registers, and on linux
stores 80 bits in memory (I would assume padded to 96 bits as for IA32),
while on hp-ux it stores 128 bits (I assume only 80 of those are
relevant and the rest is padding).
Transporting Real32/Real64 between platforms only works because we are
lucky that basically everyone uses the same representation :(
On the other hand that is also somewhat true for Real128 so we could
keep them in and start worrying about how to handle them on "exotic"
architectures when someone wants to run OpenSG on it. If you think it
would be cleaner to rip them out for now and maybe add them again when
there is sufficient demand, I can prepare a patch to that effect as well.
Carsten
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core