News for hackers. Stuff that matters.
Re:A Simple Calculus Exercise by ggrelet on Monday April 17, 2023 @04:43AM (#35598206)
What does the [x/2] notation mean, here?
Re:A Simple Calculus Exercise by itengelhardt on Monday April 17, 2023 @05:38AM (#35598546)
Thank you for asking this question. I didn't understand the notation either
Re:A Simple Calculus Exercise by elseweather on Monday April 17, 2023 @04:58AM (#35598297)
It's floor(_) - as in, floor(1.999) = 0, but floor(2.001) = 2. If you look carefully the upper flange of the [] square brackets is missing, which makes it a floor.

https://en.wikipedia.org/wiki/Floor_and_ceiling_functions

Re:A Simple Calculus Exercise by _dain_ on Monday April 17, 2023 @05:05AM (#35598346)
> floor(1.999) = 0

it's 1 not 0

Re:A Simple Calculus Exercise by le_zonzon on Monday April 17, 2023 @04:59AM (#35598303)
It's the floor function https://en.wikipedia.org/wiki/Floor_and_ceiling_functions

(Had to check the TeX code to figure that out, MathJax let you do that with a right click on the equation.)

Re:A Simple Calculus Exercise by mjd on Monday April 17, 2023 @08:08AM (#35599545)
Sorry about this, I added an explanatory note to the article.