Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Birdman
Posts
Comments
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
👍
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
yup 👍
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
and then reorder the numbers that are output
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
after this > 0.1358f => 11,
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
after the next biggest one
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
i missed it when i was copying from my excel lol
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
then it works properly
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
this 0.1095f
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
there's a missing value
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
yup, same result
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
that's strange, why are the values in the random order, makes it hard to see discrepancies
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
okay, fixed 👍
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
so naturally is assigns more values there, as it should
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
the difference bewteen 0.1358f and 0.0867f is too large
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
oh, nvm, got it
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
but technically there is nothing wrong with this code right? it should print out a proper bell curb of values?
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
hmm, could it be a flaw with the random function itself 🤔
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
comes from the unity game engine, yes it gives a random value every call
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
cause honestly i have no clue how to make a formula to calculate that
40 replies
C
C#
•
Created by Birdman on 2/28/2023 in
#help
Strange result calculating probability of hit
i'm not sure why, maybe it's because the float starts with 0.0 or something?
40 replies