Author vstinner
Recipients PedanticHacker, gvanrossum, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2021-02-18.19:08:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Anyway, my need for ceiling is that I am coding a chess GUI where I have a table with 2 columns and I create a new row whenever White makes a move. So, my implementation for row creation is math.ceil(len(moves) // 2) where moves is a list of chess moves. 

You may like the new int.bit_count() attribute of Python 3.10 ;-)
Date User Action Args
2021-02-18 19:08:47vstinnersetrecipients: + vstinner, gvanrossum, tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, PedanticHacker
2021-02-18 19:08:47vstinnersetmessageid: <>
2021-02-18 19:08:47vstinnerlinkissue43255 messages
2021-02-18 19:08:47vstinnercreate