Added a preprocessor flag for toggling simulation of signed types.