Infinity Constant In Modules

BlitzMax Forums/BlitzMax Programming/Infinity Constant In Modules

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is there any way of defining an infinity constant in modules?

The module source contains a constant of 99999.0^99999.0, but when compiled as a module it's converted to 1.#INF#

The 1.#INF# won't compile when using the above module giving a compiler error in the preprocessed .i file...

Compile Error: Invalid import identifier: '.'

Any solutions, other than defining the constant in every program that uses the module?