I am interested in the way Mathematica evaluates sums where the upper limit of the index is not an integer - i.e., sums that are some sense mathematically meaningless. For example:
{Sum[Cos[x - i], {i, 0, x}], Sum[Cos[x - i], {i, 0, Floor[x]}]} /. x -> 3.5
(*
{-0.2892805393, -0.7892805393}
*)
The second number is clear and accurate. But what does that first number actually represent?
What assumptions has Mathematica made in order to be able to evaluate the sum?