.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #20  
Old March 27th, 2004, 01:10 AM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: Best (CD Bootable?) Linux Distro for Dominions?

Quote:
Originally posted by Cainehill:
quote:
Originally posted by Gandalf Parker:
It was something about the windows compiler not doing math formulas in quite the same order as generic open OS compilers.
Which is of course why (in C/C++ especially) explicit grouping (via parenthesises) is your friend. Makes it easier for the human programmer to know exactly what the code is going to do, and makes it harder for evil compilers to find wriggle room to twist the programmer's intent.
I'm curious. Is it possible to fix Johan's problem with just grouping by parenthesises? How would you rewrite the expression for that?
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:20 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.