Re: [fpc-pascal] Calculating Pixels to represent 3D coordinates

2019-09-17 Thread Wolf
What you are trying to do is write a very simple CAD program. Have a look at this link <https://www2.mathematik.tu-darmstadt.de/~ehartmann/cdgen0104.pdf>, which gives the basic formulae and also Pascal routines to do it. Wolf On 18/09/19 2:10 AM, James Richters wrote: I'm c

Re: [fpc-pascal] Loss of precision when using math.Max()

2018-07-03 Thread Wolf
here represents the same issue as what is given in the subject string if the whole thread: Strong typing, and also readability, has been sacrificed on the altar of utility, by using implicit type conversions. Maybe we do get some views from the key authors of Free Pascal. Wolf PS.: while

Re: [fpc-pascal] Loss of precision when using math.Max()

2018-07-02 Thread Wolf
e complaint from the compiler. Who is shooting whom in the foot? Wolf On 02/07/2018 20:22, Santiago A. wrote: El 01/07/2018 a las 10:27, C Western escribió: On 29/06/18 21:55, Sven Barth via fpc-pascal wrote: More confusingly, if a single variable is used, the expected Max(Double, Double) is called

Re: [fpc-pascal] round(2.5)=2

2018-06-13 Thread Wolf
you want more? Wolf On 13/06/2018 09:58, Klaus Hartnegg wrote: Am 12.06.2018 um 23:24 schrieb Jonas Maebe: On 12/06/18 23:12, Klaus Hartnegg wrote: This behaviour does have advantages in the special case of adding up many rounded numbers, but it ruins the graphics output of my software