User blog comment:B1mb0w/Beta Function Code Version 1/@comment-24920136-20160425142241

I see. the beta function works with reals, by trunking them so that they become decimal fractions