For a real number α, let [α] denote the greatest integer less than or equal to α. For a finite set S, let ∣S∣ denote the number of elements in the set S.
Consider the functions f:(−3,3)→(−∞,∞) and g:(−3,3)→(−∞,∞) defined by
f(x)=[x3]loge(1+sin2(π(x−[x]))))
and
g(x)=x3sin2(πloge(1+x−[x])).
Let
A={x∈(−3,3):f is discontinuous at x}
and
B={x∈(−3,3):g is discontinuous at x}.
Then the value of ∣A∣+2∣B∣−∣A∩B∣ is ___.