Fix #278: Remove dead-code: truncateToLong
Fix #280: Inline dynamicIsInstanceOf
Fix #279: Simplify and inline num2char
Merge pull request #282 from gzm0/code-cleanup

Code cleanup