[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: misplaced-note-head bug (issue 5303)
From: |
David Kastrup |
Subject: |
Re: misplaced-note-head bug (issue 5303) |
Date: |
Sat, 29 Jun 2019 16:59:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lukas-Fabian Moser <address@hidden> writes:
> Folks,
>>
>> I think I isolated the rounding (?) issue leading to the misplaced
>> note head in https://sourceforge.net/p/testlilyissues/issues/5303/
>>
>> Please forgive the horrible C/C++ jumble - it's been quite long
>> since I did this kind of stuff and usually only ever wrote vanilla
>> C:
>>
>> #include <stdio.h>
>>
>> double a = -0x1.7ffffffffffffp+1;
>>
>> int main(void) {
>> printf("%a, as float: %f, as int: %d\n", a, a, int (a));
>> }
>
> Aah, I'm sorry - I was not aware that casting to int works by
> /truncating/. Then it's quite obvious what's happening here.
Which code do you think has a problem related to your example?
--
David Kastrup
- Strange space between beam and slur, Lukas-Fabian Moser, 2019/06/22
- Re: Strange space between beam and slur, Carl Sorensen, 2019/06/22
- Re: Strange space between beam and slur, James, 2019/06/23
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: Strange space between beam and slur, Lukas-Fabian Moser, 2019/06/25
- Re: Strange space between beam and slur, David Kastrup, 2019/06/25
- Re: Strange space between beam and slur, Lukas-Fabian Moser, 2019/06/25
- misplaced-note-head bug (issue 5303), Lukas-Fabian Moser, 2019/06/29
- Re: misplaced-note-head bug (issue 5303), Lukas-Fabian Moser, 2019/06/29
- Re: misplaced-note-head bug (issue 5303),
David Kastrup <=
- Re: misplaced-note-head bug (issue 5303), Lukas-Fabian Moser, 2019/06/29