The return value should be normalized.  On some platforms, it'll return a value in the range -1 to 1, on others the range will be much wider.