numeric vaiables in C32


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Neil Badger on May 24, 2009 at 18:04:31: Uploaded files: 1

Numeric variables less than 1 line up one column to the right of variables above 1. Display of variables in a for/next loop below.
Running under C16 Compiled Under C16
.00000 .00000 .00000 .21500
.43000 .43000 .43000 .43000
1.29000 1.29000 1.29000 .86000
3.01000 3.01000 3.01000 1.72000
6.45000 6.45000 6.45000 3.44000
and same program under C32
Running under C32 Compiled Under C32
.00000 0.00000 0.00000 0.21500
.43000 0.43000 0.43000 0.43000
.29000 1.29000 1.29000 0.86000
.01000 3.01000 3.01000 1.72000
.45000 6.45000 6.45000 3.44000
Oh dear, c16 compile under c32 gives
Running under C32 Compiled Under C16
.00000 .00000 .00000 .21500
.43000 .43000 43000.00000 .43000
1.29000 1.29000 1.29000 .86000
3.01000 3.01000 3.01000 1.72000
6.45000 6.45000 6.45000 3.44000

The third column is the str() of the num() of the second column.
Precision may be crucial in these operations. Program attached.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]