Hi Chanaka,
On Fri, Jul 22, 2016 at 12:47 PM, Chanaka Fernando <[email protected]> wrote: > Hi Chathurika, > > We understand your point. But this is not a functional blocker. We will > reduce the priority of this issue and as NuwanP mentioned in the ticket, > this needs to be fixed from the JS engine level. If we are going to deal > with that, it will reduce the performance of the entire data mapper and we > cannot go down this path. > > @NuwanP: Please report a JIRA against the JS engine and reduce the > priority of this issue and keep it opened. > Sure. I will do. > > Thanks, > Chanaka > > On Fri, Jul 22, 2016 at 12:39 PM, Chathurika De Silva < > [email protected]> wrote: > >> Hi >> >> Currently in data mapper, the multiplication of -2 * 0 results in -0. >> Ideally in basic mathematics the value zero should not have any - or + >> marking on it. I have reported [1] regarding this and according to jira's >> comments if this is to be fixed the -0 should be converted to string and >> then again to a number and it is shown as a concern there that this will >> have a performance impact due to unnecessary operations. >> >> Signed zero itself is used for some mathematical operations[2] but >> seemingly there is no such operation that uses signed zero available in >> data mapper currently. So rather than shipping signed zero, can we ship it >> to adhere the basic mathematics (if there's no hidden usage of signed -0 >> that is) because first impression matters and first impression depends on >> minor things like these as well. >> >> [1] https://wso2.org/jira/browse/DEVTOOLESB-627 >> [2] https://en.wikipedia.org/wiki/Signed_zero >> >> Best Regards >> Erandi >> -- >> *Chathurika Erandi* >> Senior Software Engineer, >> WSO2 Inc. >> >> *E-mail:* [email protected] >> *Mobile: *+94714 328 612 >> *Blog*: chathurikaerandi.blogspot.com >> > > > > -- > Thank you and Best Regards, > Chanaka Fernando > Senior Technical Lead > m: +94 773337238 > https://wso2.com <https://wso2.com/signature> > > > > > > > Thanks, Nuwan -- ---------------------------------------------------------- *Nuwan Chamara Pallewela* *Software Engineer* *WSO2, Inc. *http://wso2.com *lean . enterprise . middleware* Email *[email protected] <[email protected]>* Mobile *+94719079739@*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
