[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-11-10 Thread Klaus Ma (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998745#comment-14998745 ] Klaus Ma commented on MESOS-1187: - Agree that fixed point will be long term solution :). B

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-11-09 Thread Jie Yu (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14997089#comment-14997089 ] Jie Yu commented on MESOS-1187: --- [~klaus1982], as [~idownes] suggested below, the true fix t

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-11-07 Thread Klaus Ma (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995505#comment-14995505 ] Klaus Ma commented on MESOS-1187: - [~jieyu], I'm thinking to find a way for all "double eq

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-11-06 Thread Jie Yu (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14994149#comment-14994149 ] Jie Yu commented on MESOS-1187: --- To be clear, this is just a short term fix so that we don't

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-11-02 Thread Adam B (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986450#comment-14986450 ] Adam B commented on MESOS-1187: --- +1 to milli-cpus and fixed point. That's what Google uses i

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-11-02 Thread Ian Downes (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985702#comment-14985702 ] Ian Downes commented on MESOS-1187: --- I'll ask again: why do we use floats and not fixed

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-10-31 Thread Klaus Ma (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984289#comment-14984289 ] Klaus Ma commented on MESOS-1187: - Just go through {{AlmostEqual}} in googletest for doubl

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-09-10 Thread Felix Abecassis (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739120#comment-14739120 ] Felix Abecassis commented on MESOS-1187: You are right that it can get extremely c

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-09-10 Thread Klaus Ma (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738337#comment-14738337 ] Klaus Ma commented on MESOS-1187: - [~jieyu], do you have any comments on that? > precisio

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-09-10 Thread Klaus Ma (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14738336#comment-14738336 ] Klaus Ma commented on MESOS-1187: - Thanks very much for your input :); and you're right ab

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-09-09 Thread Felix Abecassis (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737312#comment-14737312 ] Felix Abecassis commented on MESOS-1187: Being new to Mesos, I don't understand al

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-09-08 Thread Klaus Ma (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14736243#comment-14736243 ] Klaus Ma commented on MESOS-1187: - A patch was uploaded to https://reviews.apache.org/r/38

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-09-08 Thread Klaus Ma (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734831#comment-14734831 ] Klaus Ma commented on MESOS-1187: - Have a sample as follow to show how to compare two doub

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-09-08 Thread Klaus Ma (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14734427#comment-14734427 ] Klaus Ma commented on MESOS-1187: - As [~jieyu] said, we can NOT use == for double; general

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-06-24 Thread Ian Downes (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600359#comment-14600359 ] Ian Downes commented on MESOS-1187: --- Was fixed-point considered? > precision errors wit

[jira] [Commented] (MESOS-1187) precision errors with allocation calculations

2015-06-24 Thread Jie Yu (JIRA)
[ https://issues.apache.org/jira/browse/MESOS-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600257#comment-14600257 ] Jie Yu commented on MESOS-1187: --- This is a simple test to reproduce: https://reviews.apache.