[DDI-SRG] Bug 169, Field Level Documentation Updates

Joachim Wackerow joachim.wackerow at gesis.org
Thu Mar 13 13:07:55 EDT 2008


Wendy,

I looked into CodeLists.txt. I noticed some issues and suggest the 
changes below.

Achim




Integer

I think this is not correct (it is a signed integer):
"Integers may be either signed (allowing negative values) or unsigned 
(nonnegative values only)."

Suggestion:
A whole number in the range of -2,147,483,648 to 2,147,483,647. If the 
sign is omitted, "+" is assumed.


Long

I think this is not correct (it is a signed integer):
"An integer of up to 32 bits in size corresponding to an unsigned range 
of 0 to 4,294,967,295 or a signed range of -2,147,483,648 to 
+2,147,483,647".

Suggestion:
A whole number in the range of -9,223,372,036,854,775,808 to 
9,223,372,036,854,775,807. If the sign is omitted, "+" is assumed.


Short

I think this is not correct (it is a signed integer):
"An integer of up to 16 bits in size corresponding to an unsigned range 
of 0 to 65,535 or a signed range of -32,768 to +32,767"

Suggestion:
A whole number in the range of -32,768 to 32,767. If the sign is 
omitted, "+" is assumed.


Float

This is an standardized representation of a real number.

Suggested addition:
An IEEE single-precision 32-bit floating point type.


Double

This is an standardized representation of a real number.

This is not correct:
"Float of up to 32 bits."

Suggestion:
Real numbers that may be stored in scientific notation (example: 
20.0005, 99.9, -5000.12, 6.02e23). An IEEE single-precision 64-bit 
floating point type.


More information about the DDI-SRG mailing list