What is the one that you use most frequently?
Double Float
Floating Point
Long
Integer
What is the one that you use most frequently?
What will people say if they hear that I'm a Jesus freak?
What will people do if they find that it's true?
I don't really care if they label me a Jesus freak, there is no disguising the truth!
Jesus Freak, D.C. Talk
-gnu-ehacks
Mostly integer I guess. It depends though on what I need the program to do, what it is for, etc. etc. etc.
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.
What will people say if they hear that I'm a Jesus freak?
What will people do if they find that it's true?
I don't really care if they label me a Jesus freak, there is no disguising the truth!
Jesus Freak, D.C. Talk
-gnu-ehacks
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.
Integers
Null Shinji The Sorcerer is here
Evangelion Quotes:
"If youre gonna do it, dont waste time. Otherwise, leave", Gendo
"Release the final safety lock, Evangelion Unit One, Lift Off!!", Misato
"Syncrograph has reversed, pulses are flowing back!!!", Maya
streamload id= nullshinji icq= 12944337; E-M@IL= [email protected]; aim= mayeba
msn= [email protected]
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...
Actually the requirement dictates it for me ... given the choice, i choose int ...
cheers,
I don't wait for the future; it comes soon enough.
>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...
hasafraggin shizigishin oppashigger...
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
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.
Code:double anti; printf ("%ld", anti); ----- SIGSEGV..........
hasafraggin shizigishin oppashigger...
DA: LOL
Has anyone ever made some bitwise using Long Integer's (128 bit in DJGPP)?
Oskilian
128-bit? What do you mean?
// Gliptic