## View Poll Results: What Number Type Do You Use The Most?

Voters
19. You may not vote on this poll
• Double Float

1 5.26%
• Floating Point

0 0%
• Long

2 10.53%
• Integer

16 84.21%

# Thread: Number Types

1. ## Number Types

What is the one that you use most frequently?

2. Mostly integer I guess. It depends though on what I need the program to do, what it is for, etc. etc. etc.

3. long double...
80-bit rules!!

4. Whoops, I meant Double Long, not Double Float. Sorry. Well, I like double long, holds a lot, but doesn't need an F at the end.

5. ints are great.

doubles are used a lot for 3d graphics...which i havent gotten into yet, so i still mostly use the good ol' ints.

6. Integers

7. i hve actualy never had a need for anything besides ints and chars. hey, i just learned how to use char as a number... that might work...

8. Actually the requirement dictates it for me ... given the choice, i choose int ...

cheers,

9. >3d graphics

you could use fixed point math... this would rid you of needing to use the FPU excessively and save you a lot of time [run-time, that is...]... eventually the usage of various variable types cannot be generalized such...

10. but in 32-bit compilers such as GCC or Visual C++, an integer is the same thing as a Long, isn't it?

I always do

int i;

wait no, I don't, I use the variable i for for's, maybe something like

int MyIntegerVariableWhichDoesNothingAtAll;

ask Null Shinji, he knows how I name variables and functions

Oskilian

11. Integers aren't neccesary numeric. Iterating through an array is not really all that mathematical, but ya sure as hell don't want to do it with floats.

12. Code:
```double anti;
printf ("%ld", anti);

-----

SIGSEGV..........```

13. DA: LOL

Has anyone ever made some bitwise using Long Integer's (128 bit in DJGPP)?

Oskilian

14. 128-bit? What do you mean?

Popular pages Recent additions