zekyll / OMPEval

Fast C++ poker hand evaluator and equity calculator
ISC License
173 stars 69 forks source link

Royal Flush ranks as Straight Flush when dividing by 4096 #28

Open shackra opened 1 year ago

shackra commented 1 year ago

hand 1, Royal flush: As, Qs, Ts, Js, Ks, strength: 36874 / 4096 = 9 (9,002441406 to be exact; expected 10).

hand 2, Straight flush: 2s, 3s, 4s, 5s, 6s, strength: 36866 / 4096 = 9 (9,000488281).