2
votes
Vote UpVote

Delphi – Direct3D and the wrong FPU state: Now() function returns a wrong value (via: StackOverflow)

The Wiert Corner – The question datetime – Delphi Now() function returns a wrong value – Stack Overflow is similar to my article Delphi – Michael Justin had strange floating point results when his 8087 FPU Control Word got hosed. Good that stackoverflow user Anton Zhuchkov found out the cause himself: his answer indicates the Precision Control (and rounding) part of the FPU state got hosed by wrongly initializing the Direct3D device. I edited his answer with some extra links to documentation. Finally I’ve found the solution. I needed to specify the D3DCREATE_FPU_PRESERVE flag when creating a ...
Favorite? Off-Topic? Jeroen Pluimers @ 2013-10-31 06:00

Statistics

Visits: 943
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

stukelly
TOndrej
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)