sin() / cos() speed
Well, the last few functions on changing the precision haven''t worked for me (fatal errors) but the inline Sin() function is working fine for me. Can''t say I really understand what''s going in the precision code. I know a fair bit of assembly language, but not much when it comes to floating point numbers. I ordered and received the intel IA-32 manuals and AMD64 manuals about 4 months ago, but still haven''t gotten around to reading them. Thanks a bunch for the code and reminding me that I still had those manuals lying around
Glad to help. Which functions weren''t working? The ones in my last post, the macros? B/c they should work... I may not have the syntax down though. Anyway, I just thought it would be nice to know that the FPU was working with single precision instead of extended-double, which is 2x slower (guesstamating). I don''t know if VC++ sets the Precision Control field in the FPU Control Word or not, so that''s why i''m curious.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement