View Issue Details

IDProjectCategoryView StatusLast Update
0000328LDMudLPC Compiler/Preprocessorpublic2009-10-06 03:52
ReporterlarsAssigned To 
Status newResolutionopen 
Summary0000328: Introduce NaN integers
DescriptionWhen handling numeric overflows (-0x100000000), the driver doesn't really handle these but instead maps them to INT_MIN or INT_MAX.

A better way would be to introduce NaN values for +/- infinity.

This is probably most easily done if the compiler is rewritten to use ASTs and to delay the number parsing until the very last moment.

Alternatively, implement long numbers and let the driver automatically select the best implementation.
TagsNo tags attached.
External Data (URL)



2009-10-06 03:52

administrator   ~0001487

At runtime the driver raises an error upon numeric overflows. Couldn't we do the same during compiletime when the compiler stumbles upon a literal number exceeding the limits?

Issue History

Date Modified Username Field Change
2004-12-23 14:18 lars New Issue
2009-10-06 03:52 zesstra Note Added: 0001487