[Mono-list] How to programatically change the Ubuntu 16.04 System Monitor process name from cli or mono to an unique name?

2016-05-17 Thread Frank Chang
I wrote and tested the following C++ program after reading the Stack Overflow article , http://stackoverflow.com/questions/31747247/change-real-process-name-in-c-on-linux . I discovered my program could not programatically change the Ubuntu 16.04 System Monitor process name from cli or mono

Re: [Mono-list] Why is 0.1f + 0.2f - 0.3f produces such a large error number?

2016-05-17 Thread Timotheus Pokorra
> Does this mean one should not use C# when performing scientific > calculations? The above information is interesting. For financial calculations it is recommended to use System.Decimal I don't know about scientific calculations. Timotheus ___

Re: [Mono-list] Why is 0.1f + 0.2f - 0.3f produces such a large error number?

2016-05-17 Thread Alan
You could also google for discussions about adding 0.1 and/or 0.2 multiple times. That has fun results in every language too, for example http://stackoverflow.com/questions/26120311/why-does-adding-0-1-multiple-times-remain-lossless On 17 May 2016 at 13:23, Alan wrote:

Re: [Mono-list] Why is 0.1f + 0.2f - 0.3f produces such a large error number?

2016-05-17 Thread Alan
There's no reason you should not use it if the errors you are seeing are within the tolerance of floating point calculation limits. If you require more accuracy then use double instead of float. If you require perfect accuracy then you'll have to use a special type/library which provides more

Re: [Mono-list] Why is 0.1f + 0.2f - 0.3f produces such a large error number?

2016-05-17 Thread MarLOne
Thanks for the reply. The following disclosure may not have anything to do with explaining this but it highlights some inconsistency in .Net: I know Mono is not exactly VS (well very close as Xamarin is now part of Microsoft) but the following comparison is still valid and interesting: VS2003,