|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#6
|
|||
|
|||
|
Re: Math Gone Wrong
To clear up the confusion here, the standard C types have the following ranges:
char: 2^8 (256) int: 2^16 (65536) long: 2^32 (4294967296) The unsigned variety go 0 to (range-1) The signed go from (-(range/2)) to ((range/2)-1) Just a FYI |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New math functions? | KVermilion | Programming | 8 | 17-01-2005 10:38 |
| I-cylinder body wrong? | Daniel Brim | Inventor | 0 | 05-03-2004 20:18 |
| Wrong Math in the site info section.. | Matt Attallah | CD Forum Support | 9 | 10-06-2003 16:43 |
| direct Drill motor drive wrong or right | rcubes85 | General Forum | 6 | 11-02-2003 18:11 |
| Whats wrong with this code? | Morgoth | Programming | 4 | 19-01-2003 11:45 |