[ https://issues.apache.org/jira/browse/LUCENENET-364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Jordan updated LUCENENET-364: ------------------------------------ Attachment: TestSort.diff > Workaround for a Mono float/Single parsing issue > ------------------------------------------------ > > Key: LUCENENET-364 > URL: https://issues.apache.org/jira/browse/LUCENENET-364 > Project: Lucene.Net > Issue Type: Improvement > Environment: Mono 2.6.x > Reporter: Robert Jordan > Attachments: TestSort.diff > > > Mono is not able to parse values greater or equal to Single.MaxValues > correctly, e.g.: > Single.Parse(Single.MaxValue.ToString()) throws an OverflowException. > Since Test/Search/TestSort.cs is using such a value, all of its tests are > failing. > I'm aware that this issue must be fixed in Mono (it's a known issue), but > since TestSort is not about testing foat's accuracy, I'm attaching a patch > the lets the tests pass on Mono. Please take it into consideration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.