#-inf ? WHAT HAVE I DONE ???
52 messages · Page 1 of 1 (latest)
how did you get negative?
That has modded jokers no?
I kinda don't really know HOW, but it started kind of like this : I did naneinf last round, powered few cards up and went to the next round then did a Flush House with kings polychrome, red seal and then POOF : -inf
I have Mika's mod and a few minor one's
but I think you can do a -inf in unmodded Balatro
yeah I just did more score in one Flush House hand
I had a lot of legendary jokers
I had the one from Mika's mods wich doubles all values ( except the values he can't double )
maybe that's part of the thing
and I had multiple
I dont know enough about mika's mod
But without knowing 100% the full cause Id rather not look into it to much myself
Well the least we can do is really see if it can be reproduced on the unmodded Balatro ( Wich I'm sure is possible because the glitch is linked to the score, and in no way a mod should impact the mechanic of scoring, and even if it existed, I didn't have one )
floating point numbers roll over to "infinity" once they max out
So when it reaches hypotethycal infinity it just goes... negative ??
possibly from an overflow
What's happening is that your score was so high it could literally not fit in the 32 bits of data that a float represents.
so like, naneinf, but more
woah
this issue can be resolved by using a double precision float which is 64 bit's long instead of 32
NAN means "Not a number"
alright, because that made me lose the game lmao
"-inf" is weaker than "naneinf", because it didn't win the blind
hmmm
but it seems after I played my second hand ( and had -inf ) it got to just "nan"
you can see it on the screenshots ( even if my game is french the numbers are the exact same )
this is all classic floating point shenanigans
really dumb and funny how I lost because I overflowed off the calculator lmao
I give up
I spent 10 minutes on the first king
and my computer was going multiple seconds for 1 frame
I couldnt tell weather the fire sounds was from the game, or the inside of my computer 💀
the game's number limit is already 2^1024 which is around 1e308 or something along the lines
and when you reach it the score becomes nan e inf