information-artifact-ontology / IAO

information artifact ontology
Creative Commons Attribution 4.0 International
77 stars 25 forks source link

data types - integer #4

Open zhengj2007 opened 9 years ago

zhengj2007 commented 9 years ago

From mcour...@gmail.com on November 06, 2008 12:06:54

Please indicate the label for the new term integer Please provide a textual definition An element of the infinite and numerable set {...,-3,-2,-1,0,1,2,3,...}. Please add an example of usage for that term Please provide any additional information below. (e.g., proposed position in the IAO hierarchy)

synonym: whole number, when understood to include negative numbers and zero.

from http://en.wiktionary.org/wiki/integer

Original issue: http://code.google.com/p/information-artifact-ontology/issues/detail?id=4

zhengj2007 commented 9 years ago

From dan5%geo...@gtempaccount.com on November 06, 2008 09:24:55

I find this definition rather unsatisfactory. Couldn't 'integer' be defined as a number that lacks a remainder when divided by 1?

Another issue pertaining to this term is one of representation. For example, 16, 2*8 (two multiplied by eight), 16.0, and 2^4 (two to the fourth power) are all representations of the same number, which happens to be an integer. For the use case in mind, are they all considered integers, or just the string '16' ?