RhostMUSH / trunk

RhostMUSH 4.0: This is the official main repository of RhostMUSH. Visit us at rhostdev.mushpark.com 4201
23 stars 21 forks source link

ncomp was limited to sint32 max #157

Closed firstmagic closed 2 years ago

firstmagic commented 2 years ago

ncomp() would report inaccurately if one of the operands was > sint32 max:

Myrddin types -=> th ncomp(1,3518421333)
1

(the expected return value was -1)

Modify ncomp() to deal not only with significantly larger values, but floats as well.