Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: How to get the index of smallest whole number in an array?

by BrowserUk (Patriarch)
on Jul 01, 2018 at 08:26 UTC ( [id://1217681]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to get the index of smallest whole number in an array?
in thread How to get the index of smallest whole number in an array?

Blame mathematicians and their predilection for inventing new nomenclature and usurping natural language to define them.

From Wikipedia:

Some definitions, including the standard ISO 80000-2,1 begin the natural numbers with 0, corresponding to the non-negative integers 0, 1, 2, 3, …, whereas others start with 1, corresponding to the positive integers 1, 2, 3, ….2345

Texts that exclude zero from the natural numbers sometimes refer to the natural numbers together with zero as the whole numbers, but in other writings, that term is used instead for the integers (including negative integers).6


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit

Replies are listed 'Best First'.
Re^4: How to get the index of smallest whole number in an array?
by Laurent_R (Canon) on Jul 01, 2018 at 08:49 UTC
    Thank you, BrowserUk, for the Wikipedia reference. When I originally wrote my post, I was thinking about adding something saying that, to many people, "whole numbers" often means positive integers (with or without 0), but I did not because I wasn't entirely sure whether it was not a personal bias of mine. Your Wikipedia quote shows that it wasn't just my personal impression.

    Update:Fixed a typo in the last sentence.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1217681]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-18 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found