subchannel13 / Stareater

4X turn based strategy
GNU General Public License v3.0
32 stars 7 forks source link

Formulas: negative numbers and LFROM operator #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When parsing, negative numbers are recognized as variables rather then 
constants.

Problem can be corrected by parsing constants with NumberStyles.Float parameter 
in double.TryParse.

LFROM operator is not limiting value correctly. Limiting is performed when 
interpolation parameter is outside [min, max] while it should be limited when 
outside [0, 1].

Original issue reported on code.google.com by subchann...@gmail.com on 1 Sep 2010 at 11:14

GoogleCodeExporter commented 9 years ago

Original comment by subchann...@gmail.com on 1 Sep 2010 at 3:00

GoogleCodeExporter commented 9 years ago

Original comment by subchann...@gmail.com on 7 Sep 2010 at 12:37