Talk:Integer (computer science)

message: homed integer pops up in the VisualC++ header files in reference to the DEC Alpha. Anybody know what that's about? Hackwrench 21:08, 5 November 2005 (UTC)
thread_title: homed integer

message: The column of uses for 64bit mentions "very large numbers". This is quite subjective, for many people already 32bit is "very large". And it doesnt tell something about the actual place where those very large numbers are used. It would be nice if someone could find some good concise words for "file size for modern multi gigabyte system file, directory, hdd sizes. Or network transfer rates, or transfer amounts."  — Preceding unsigned comment added by 213.61.9.75 (talk) 10:15, 6 May 2013 (UTC)
thread_title:  use case column 

message: (this was originally under Quadword)
I think this probably isn't adequate.  I mean, I know what "unit," "computer memory or storage," "four," and "word" all mean, but I still don't know what "quadword" means (at least, I don't think I do).  Isn't that interesting? --LS----
That is because no one has explained how many bytes are in a word. In IBM/370 Assembler a word has 32 bits or 4 bytes. A doubleword is the length of 2 words, thus 64 bits or 8 bytes. I was entering something about this under word with a one word instruction as an example and found someone disagreeing with me---I give up. Rose Parks 
:problem is that different machines have different word sizes
OK, different problem: if you use "word" without further ado, many people reading the article won't know that you mean something different from what is ordinarily meant by "word."
I found this link on a page with byte...what was I to think? RoseParks
The article asserts that now word usually means 16 bits but I think it still means "most efficient unit size on some particular architecture" or "architecture defined sequential packing of bits".  What do others think?  --drj
:I think the author is showing his/her IBM PC x86 bias by saying a word is 16 bits.
I have been around enough architectures that I consciously don't decide how big a word is, until someone tells me.
:Somewhen in the past, drj was completely right, word meant the machine's "native" bit width, i.e. registers would always contain a word. But I think the trend to call 16 bits a word always, even outside of the now quite rare 16-bit beasts, is definitely there. This may be due to the wintel juggernaut, but it may also be due to there being a need to call 16 bits (and 32 bits, etc.) something. Word is certainly not the best choice, but most people that are not chip designers seem to find it adequate.
Despite the dominance of Wintel I still couldn't find enough evidence to support the case for word usually meaning 16 bits (for example count "16 bit word" versus "32 bit word" on altavista).  So I deleted that claim from the head page.  I can believe that amongst programmers that have only been exposed to wintel boxes word usually means 16 bits, but that not what was claimed.  I don't really want to fight a battle over this but I would like some evidence.  --drj
----
Likewise I'm not sure about 'longword' and 'long' as always meaning 32 bits. There are existing architectures where the C type 'long' is 64 bits.
--Matthew Woodcraft
----
I think the article is clear enough about the terms being somewhat ambiguous (how's that for a .sig quote!) --LDC
:I know it's incorrect to say "That variable should have been declared as long, which has at least 32 bits on any computer".  C does not guarantee that long has at least 32 bits, only that it has >= the number of bits that int has.  E.g. http://www.unix.org/version2/whatsnew/lp64_wp.html says "C language standards specify a set of relationships between the various data types but deliberately do not define actual sizes.". 01:47, 6 December 2008 (UTC)
replies: text: The C standard does require that a long be able to represent all values, inclusive, between -2^31+1 (for non-two's complement systems) and 2^31-1.  —Preceding unsigned comment added by 69.166.47.137 (talk) 00:34, 22 February 2010 (UTC)
thread_title: Word

message: picking a nit:  As far as I know (and the SI entry supports me) terms like "megabyte" are not, in any way, SI measurements.  The section that compares the power-of-ten meanings of the prefixes with the power-of-two meanings of the prefixes is fine, because it is describing the prefixes.  measured in a metric fashion (i.e. powers of ten).  I decided to drop out all the talk about hard drives and just leave the illustration of the difference, and the cross-reference to binary prefix, where the controversy is covered much better.  Zack 18:23, 27 August 2005 (UTC)
replies: text: It's not about SI *units*, it's about SI *prefixes*. Examples for units are meter, gramm, pascal, Kelvin, Joule. Mega always meant and always will mean "Million" which is exactly 10^6 or 1000000. --82.141.58.16 16:04, 18 October 2006 (UTC)
thread_title:  SI units? 

message: The decimal digits is somehow misleading - taking the  example a byte:
If you use a byte for arithmetic then a byte does not go all the way +/- 999 - with a range of -128 .. 127 I would say its about 2.125 digits but certainly not 3. 
If you want to print a byte then -128 takes 4 characters - so it is again it's not 3.
So the numbers shown in "Decimal digits" is not answer to any real live question. --Krischik T 11:57, 24 July 2008 (UTC)
replies: text: Well, "-" isn't a digit.  Whilst I'm inclined to agree with your logic, I think it's still a useful indicator of the order of magnitude of the ranges in question, in "units" that are slightly more tangible.  Oli Filth(talk|contribs) 19:14, 24 July 2008 (UTC)
thread_title:  Decimal digits 

message: Can we include any reference as to why Microsoft refers to integers and "integrals" in C#?   In the .Net CTS they are integers along with every other language I am personally familiar with.  At the top of this article it states, "These are also known as integral data types" but there is no reference to this fact provided.   As best I can tell, this seems to be a Microsoft-only designation.   The wikipedia article on Integrals talks about the calculus definition.   In the math Integer article contains the statement, "More formally, the integers are the only integral domain whose positive . . ." but this doesn't explain why an integer would be called an "integral."   There is some clarification here, but Wolfram states "Numbers that are integers are sometimes described as "integral" (instead of integer-valued), but this practice may lead to unnecessary confusions with the integrals of integral calculus" on this page.  Again, this seems to be only a C# practice from a computer language perspective.  Any ideas?--P Todd (talk) 02:12, 30 October 2009 (UTC)
replies: text: "Integer" is a noun; "Integral" in this context is an adjective modifying "types". Also, there is a reference to the C standard now. I know at least the Java language specification uses the term "integral types" also.  —Preceding unsigned comment added by 69.166.47.137 (talk) 00:21, 22 February 2010 (UTC)

text: "Integer" is never defined while "Integral" is being defined. It feels like we are talking around something in a way that wouldn't be accessible to a non-computer science user. So we define the "adjective" as being related to the noun without ever really defining the noun. I tried to define the noun and was shot down because "That's what the math page does" but the introduction paragraph should be readable by someone who hasn't read every link. Right now, the page seems almost tautological.Doryllis (talk) 17:14, 30 December 2019 (UTC)
thread_title:  Integer vs "Integral" 

message: Aren't flops 2 bits? Can those be added to the chart? Tidus3684 (talk) 21:31, 31 March 2011 (UTC)
replies: text: I've always understood that   'flops'    means 'floating point operations per second' with floating point processor speeds being commonly measured in MegaFlops. Murray Langton (talk) 21:55, 31 March 2011 (UTC)
replies: text: Me too. 212.68.15.66 (talk) 10:36, 7 April 2011 (UTC)
thread_title:  Flops 

message: I sugest we merge Short integer and Long integer here; I don't see the reason why the content here must be duplicated in those articles, and surely it's more of an overview if the various integer sizes are described here. --Wtshymanski (talk) 13:14, 1 September 2011 (UTC)
replies: text: Support with reservations. The content is not really duplicated in both of these articles. Look, for example, at the tables there: they list sizes of the integer type in different environments, whereas this page generalizes for all cases. I think we can merge by making separate subsections for short and long integer types in the section Common integral data types, then copying all the information except the redundant parts of the introduction and finally moving the current information in Common integral data types to these subsections if possible.1exec1 (talk) 20:04, 4 September 2011 (UTC)

text: Support. 1exec1's proposal sounds good. - Frankie1969 (talk) 18:43, 11 September 2011 (UTC)

text: Support merge makes comparison easier. Max Longint (talk) 22:15, 5 October 2011 (UTC)

text: Comment While we are at this, I would suggest to dismantle/rewrite Computer numbering formats  Max Longint (talk) 22:30, 5 October 2011 (UTC)
thread_title: Suggest merge

message: Hello, I'm a non-native English speaker. Could the article include how we should pronounce "integer" ? like "g" or "j" ? Thanks.  — Preceding unsigned comment added by 145.248.195.1 (talk) 13:42, 22 November 2011 (UTC)
thread_title:  pronunciation 

message: Hello fellow Wikipedians,
I have just modified one external link on Integer (computer science). Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
*Added archive https://web.archive.org/web/20100822072551/http://flash-gordon.me.uk/ansi.c.txt to http://flash-gordon.me.uk/ansi.c.txt
When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.
Cheers.—InternetArchiveBot (Report bug) 13:52, 14 November 2017 (UTC)
thread_title:  External links modified 

message: Compared to other languages like Python, Lisp and Python, I wouldn't say that Perl 6, does have arbitrary precision integers. By default they are C native integers, unless you use bigint, or use decimal, libraries explicitly, to overload creation of literals and operators. So, I think it like calling C++ having arbitrary precision integers. When it doesn't. 81.6.34.246 (talk) 12:43, 19 December 2018 (UTC)
thread_title:  Perl 6, and arbitrary arithmetic 

message: Right now, the article reads well if and only if you understand all the linked references. That is bad writing, in general, for an encylopedia even if you are focused on computer science. Can we allow that some words will have to be defined here in order to not create a sentence that basically says "Integers are integers" which tells the general or beginner audience exactly nothing? Doryllis (talk) 16:12, 23 September 2019 (UTC)
thread_title:  Making Computer Science accessible for the general audience 

message: Under the table for long integers it says "the terms long and int are equivalent" but that is simply not true.  — Preceding unsigned comment added by 90.230.55.237 (talk) 20:01, 24 September 2019 (UTC)
replies: text: Indeed, even the given reference https://www.open-std.org/JTC1/SC22/WG14/www/docs/n1570.pdf makes that clear, for example on page 27 the example values contradict the idea that int=long. I've edited the page accordingly. ~ Eldacan (talk) 12:49, 15 March 2024 (UTC)
thread_title:  long and int are NOT equivalent