« Return to Thread: strange behaviour of compare/3

Re: strange behaviour of compare/3

by Simon Strobl :: Rate this Message:

Reply to Author | View in Thread


Ulrich Neumerkel wrote:
> Where do these integers come from?  Why aren't they floats then in the
> first place?
My program classifies objects (e.g. words). The classification procedure involves assigning scores. Basically, scores are frequencies, i.e. integers. Some frequencies, but not all, must be normalized. The normalization procedure implicitly creates floats.

 « Return to Thread: strange behaviour of compare/3