in , ,

its okay guys they fixed it!

its okay guys they fixed it! | code-memes, git-memes, github-memes, ios-memes, string-memes, if statement-memes, authentication-memes, fix-memes, search-memes, release-memes, IT-memes, c#-memes, source code-memes, private-memes, binary-memes | ProgrammerHumor.io
code-memes, git-memes, github-memes, ios-memes, string-memes, if statement-memes, authentication-memes, fix-memes, search-memes, release-memes, IT-memes, c#-memes, source code-memes, private-memes, binary-memes | ProgrammerHumor.io

[text] Jeroen Frijters Jer IR e The Dutch government was forced to release the source code of their DigiD digital authentication iOS app. It is written in C. github.comMinBZKwoobes… private static string double if percentage 0 return O0O 00000000 f percentage 0.0 percentage 0.1 return OOO0O00000O percentage 0.1 percentage 0.2 return OOOOOOOO percentage 0.2 8 percentage 0. return OOOOO0OO percentage 0.3 percentage 0.4 return OOOOOO if percentage 0.4 percentage 0. return OOOOO percentage 0.5 percentage 0.6 return OOOOO percentage 0.6 percentage 0.7 retirn OOOO percentage 0.7 percentage 0. retirn O OO OOOOOO percentage 0.8 percentage 0.9 return 00000 OO return 00000000 1.3 308 11196 tyrannoSaurav TyrannoSaurav Replying to JeroenFrijters Ahh see the problem is that there are too many if statements. Heres a solution implementing binary search in Olog n ate s LC GetPercentageRoundsdouble percentage f percentage 0 percentage 0.5 f percentage 0.2 percentage 0. f percentage 0 E 104 percentage 0.4 percentage 0.3 percentage 0.5 percentage 0.9 percentage 0.7 percentage 0.6 percentage 0.8