Repository navigation
Commit 7907c4c
Put a step function at its one-sided limit before a one-sided limit is taken (#2332)
floor, ceil, round and sgn take only whole values, so one that has a limit
from a side equals that limit on an interval on that side. Each is now put
in as its one-sided limit wherever that limit is a whole number, before a
one-sided limit is taken, and in the two-sided path each side gets its own.
floor(x) is 0 on (0, 1), so floor(x)^x there is 0 to a positive power. It
was read as the form 0^0 through e^(x ln(floor(x))), and answered 1:
| | 2.6.0 | master | now |
|---|---|---|---|
| floor(x)^x at 0+ | 1 | 1 | 0 |
| floor(x)^tanh(x) at 0+ | unevaluated | 1 | 0 |
| floor(x)^x at 0 | unevaluated | 1 | NaN, 1 from the left and 0 from the right |
limitcheck, 600 expressions at each of seeds 1, 7 and 11: the findings are
master's at 1 and 7, and at 11 the floor(x)^tanh(x) row is gone. 11 more
limits are answered across seeds 1 and 7, each agreeing with the values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 9e687f0 commit 7907c4c
3 files changed
Lines changed: 83 additions & 2 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits/Solvers
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
285 | 299 | | |
286 | 300 | | |
287 | 301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
104 | 126 | | |
105 | 127 | | |
106 | 128 | | |
| |||
278 | 300 | | |
279 | 301 | | |
280 | 302 | | |
| 303 | + | |
281 | 304 | | |
282 | 305 | | |
283 | 306 | | |
| |||
377 | 400 | | |
378 | 401 | | |
379 | 402 | | |
380 | | - | |
381 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
382 | 407 | | |
383 | 408 | | |
384 | 409 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
0 commit comments