With Symbolics v4.2.3 we get
julia> @variables x
1-element Vector{Num}:
x
julia> sinpi(2x)
sinpi(2x)
julia> Symbolics.derivative(sinpi(2x), x)
6.283185307179586cospi(2x)
Whereas we would expect the result 2πcospi(2x). Somehow the π gets mixed up with the 2, for example we also have
julia> Symbolics.derivative(sinpi(big(2)x), x)
6.283185307179586476925286766559005768394338798750211641949889184615632812572396cospi(2x)
The same happens to cospi as well.
┆Issue is synchronized with this Trello card by Unito