Comment on gatekeeping
blanketswithsmallpox@lemmy.world 1 year ago
Which negative infinity or positive infinity includes zero?
wanderer@lemmy.world 1 year ago
wetnoodle@sopuli.xyz 1 year ago
It’s certainly between them somewhere
bfg9k@lemmy.world 1 year ago
There is actually zero as well as negative zero for reasons beyond my comprehension
blanketswithsmallpox@lemmy.world 1 year ago
That was the root of what I was getting at, thanks lol.
rbesfe@lemmy.ca 1 year ago
Brackets and a comma like that indicate a range, not just a list of 2 values
BigDanishGuy@sh.itjust.works 1 year ago
But those are parentheses, are they not? I was taught intervals using square brackets and semicolon. While parentheses are used for coordinates and tuples. The square brackets indicates inclusion of the boundary number.
Ie. the statement "2
pokemaster787@ani.social 1 year ago
It’s likely just you were taught a different notation. Personally I was taught (x, y) can mean both coordinates x and y or a range from x-y (non inclusive), just depends on context which it is. Brackets like [x,y] I was taught are for inclusive ranges (i.e., x and y are included in the range)
BigDanishGuy@sh.itjust.works 1 year ago
So, what I was trying to do was use less than signs… Now I’ll just write it out instead.
The nomenclature I was taught for intervals used square brackets. But both inclusive and exclusive. If the bracket opens toward the number it’s inclusive, if the bracket opens away from the number it’s excluded.
The example I tried to use was as follows, 2 less than x and x less than or equal to 5, would be written as x = ]2;5]. While 2 less than x, and x less than 5 would be x = ]2;5[, and 2 less than or equal to x, and x less than or equal to 5, would be x = [2;5]
But it is just nomenclature, but as any other kindergartener I always thought it was universal. Imagine my surprise when I discovered that some people uses a period for decimals and not a comma. And that English speakers uses the words millions, billions, and trillions but skips milliards, billiards, and trilliards. Meaning that translating between English and Daniah, you’d need to be keenly aware of the differences - otherwise you’d might try convincing a Dane that there are 1000x more people on earth.
rbesfe@lemmy.ca 1 year ago
Parentheses (also just called brackets here in North America, where the English language comes to die) are used to show that the listed values are not included in the range. They’re always used for infinity since infinity isn’t a real number.