Unfortunately there is no way I know of to trick the compiler into believing
that your float matches the [`SomeFloat` type
class](https://nim-lang.org/docs/system.html#SomeFloat). The only thing I can
think of is using
[`patchFile`](https://nim-lang.org/docs/nimscript.html#patchFile%2Cstring%2Cstring%2Cstring)
in your `config.nims` file to patch `system.nim` to expand the `SomeFloat`
class. If `Complex` had been written to instead take a concept of anything
float-like this would work. But concepts aren't widely used for various
reasons. It would be interesting to see if Nim could support some kind of
"forcing" a type into a procedure which doesn't normally accept it. Might even
be possible to do with a macro and `getImpl`..