added type assert to toq

Previously, according to `code_typed(toq,())`, `toq` and `toc` type-inferred to a return type of `Any`.
They really always return a `Float64`. Adding this type-assert makes the inferred return type `Float64`.