>he uses (((floating point)))
And i thought jews were good at math
He uses (((floating point)))
Other urls found in this thread:
why use floats when you can just use large integers and divide by 10 ^ number of decimals to get the true value?
>what is turnication
What is turnication?
>turnication
fucking kek
remove yourself
floats are zoomercore
youtube.com
This.
Why we even need FLOPS? Just calculate everything with big integers.
Making things unecessary complex is Jewish thing.
And, I guess, FLOPS works great to sell product.
I bet, floating point operations were invented by a person with jewish DNA
]
void main(void)
>nitpicking about irrelevant shit
Understanding and bring confident with floating point is the real brainlet filter in programming. IEEE floating point is not very difficult to understand. Also
>void main
>program does not print newline at end
>inconsistent spacing
shoulda used ilm's based HALF instead
main returns an int, it isn't a void function - how is that irrelevant?
fast vs not fast
I never understood why people use floating points for everything, int is faster and works just as well, what is the point of 0.1f when 1 is just as good?
dude the program still runs just turn your brain off lmao
Audio devices do this for legacy reasons and it's dumb as shit.
In most signals you want better resolution at low amplitudes, which is essentially provided by floating point representation.
or as i like to call them, lossy compressed numbers
Floating point division is faster on modern hardware, though.
Not that it matters unless you're doing physics simulation.
imagine not wanting to write programs correctly.
>I never understood why people use floating points for everything, int is faster and works just as well, what is the point of 0.1f when 1 is just as good?
Retards use floating point values to say .5 dollars when they could use an integer to say 50 cents, that's true.
But floating point values are very useful when you have to cover high ranges and go close to zero, which typically happens when you do many (non-linear) numerical problems in physics, etc.
>float
>not using double
runtime error: signed integer overflow: 320000000 * 40000000 cannot be represented in type 'int'
>not using the 80-bit float Intel extension
long double actually results in 2.0, unlike double
typedef longlong int
USE POSITS
FUCK JEW FLOATS
Yes user, what is turnication? Can you explain it? Thought not brainlet.
>turnication
Mock Turtle you are drunk, just go to sleep already
>spending 3 years optimising my for loop
Thats a no from me sir.
Never use floats to represent money, everybody knows that.
>int is faster
*divides in your path*
nothin personnel kiddo
Every division can be made into a multiplication.
>inconsistent spacing
where? That code looks.wel.spaced to me.
...
Why not double or single precision?
Because base10 numbers are the spawn of the devil for processor logic. They just can't even.