Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread Benkő Pál
> And PostScript (and PDF and METAFONT) _do_ represent angles in degrees. > So it's sort of silly that we cannot get an angle of 180 degrees > straight into PostScript without change. now that convinced me. if we want to output angles in degrees, we don't want to switch back and forth neither

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread thomasmorley65
On 2015/10/30 21:46:55, benko.pal wrote: > And PostScript (and PDF and METAFONT) _do_ represent angles in degrees. > So it's sort of silly that we cannot get an angle of 180 degrees > straight into PostScript without change. now that convinced me. if we want to output angles in degrees, we

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread lemzwerg
+1 https://codereview.appspot.com/269530043/ ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread Werner LEMBERG
> Maybe we should convert all our stencil stuff into native Pango? Sounds sensible. However, I would add this to a TODO list than rather working on it immediately, except if there are pressing needs. Werner ___ lilypond-devel mailing list

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread benko . pal
sorry to chime in that late, but: am I right that the problem is that we get the rotation matrix cos a -sin a sin acos a inexact? and if so, how the inexactness is present? one of the diagonals is exactly +/-1 while the other is not exactly 0? in that case I'd suggest (would have

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread dak
On 2015/10/30 13:20:35, benko.pal wrote: sorry to chime in that late, but: am I right that the problem is that we get the rotation matrix cos a -sin a sin acos a inexact? and if so, how the inexactness is present? one of the diagonals is exactly +/-1 while the other is not exactly 0?

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread Benkő Pál
2015-10-30 14:46 GMT+01:00 : > On 2015/10/30 13:20:35, benko.pal wrote: >> >> sorry to chime in that late, but: >> am I right that the problem is that we get the rotation matrix >> cos a -sin a >> sin acos a >> inexact? and if so, how the inexactness is present? one of the >

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread dak
On 2015/10/30 15:07:42, benko.pal wrote: 2015-10-30 14:46 GMT+01:00 : > I really think we should move everything to degrees except for the final > calculations. I'm not against that, but don't really know what are the final calculations. I'd argue for creating

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread Werner LEMBERG
> I'd argue for creating functions sind, cosd, angle in analogy to > METAFONT's functions. And we'd use them exclusively so it might > make some sense to define C++ versions of them and export them in > order to get consistent results. Maybe there's a library out there which we could use,

Re: modify coord-rotate to get exact values for (sin PI) etc (issue 269530043 by thomasmorle...@gmail.com)

2015-10-30 Thread David Kastrup
Werner LEMBERG writes: >> I'd argue for creating functions sind, cosd, angle in analogy to >> METAFONT's functions. And we'd use them exclusively so it might >> make some sense to define C++ versions of them and export them in >> order to get consistent results. > > Maybe there's