more minor spamc cleanups; convert C++-style comments to C-style comments because we still need to compile on platforms that don't support those; also, don't compare floats using ==, it doesn't always work