re: What does 1#J mean? A strange corner case of the printing of special values
For what it's worth, the C99 standard (I don't have a copy of C90 handy) explicitly prescribes how printf() should output infinite and NaN values:7.19.6.1p8 ...A double argument representing an...
View Articlere: This code would be a lot faster if it weren't for the synchronization
alegr1,Certainly true, but for thread synchronization it was very valuable. Even if they do not solve all sorts of problems, that shouldn't be a reason for reject in cases where they might have an...
View Articlere: Now that version 4 of the .NET Framework supports in-process side-by-side...
LonghornIssues: *Dependencies* were the problem. .NET Framework 2.0 could not stabilize because WinFS and SQLCLR were pulling it in two different directions and WPF was pulling it a third. Each time...
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
@Igor:Unfortunately, MSVC doesn't claim conformance with C99. C90 doesn't seem to say what should be output when the argument represents an infinity.
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
Thank you for the last paragraph. Just thank you.
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
Funny observation: This wouldn't happen in Norway... Norwegian (like other Scandinavian languages) adds three extra letters (Æ, Ø Å) at the end of the alphabet, so the middle character is 'O' (which is...
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
>> and 'N' is in the lower half.but it's still greater than '5'.
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
@j b: 5 has ASCII code 53 while N has ASCII code 78, so N is always greater than 5.
View Articlere: Is there a way to specify an icon to appear next to a menu item via the...
"I discussed this nearly a decade ago."Ow, that hurt. I haven't been reading TONT since the beginning, but pretty close. Hard to believe it's been nearly a decade.
View Articlere: Is there a way to specify an icon to appear next to a menu item via the...
In the referenced article, ‘two converts’ should be replaced with ‘two and converts’.
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
Actually, the sign for a rounded [i] is not [ü], but [y] (in the International Phonetic Alphabet, which is what you'd be using when discussing phonetics /per se/, not the study of a particular language...
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
Is this another but that's doomed to be in windows forever for "compatibility reasons"?
View Articlere: This code would be a lot faster if it weren't for the synchronization
@Mike, ZanLynx:With cooperating processes, one can come with very elaborate shared memory synchronization, including a shared memory equivalent of CRITICAL_SECTION.But a KMUTANT solves the generic...
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
@Rosyna: probably not. Every new version of MSVC has a new separate copy of the C runtime with a different name (unlike on most Unix systems, where there is a single C runtime shared by all compilers -...
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
@Cesar: The world of compatibility is never that easy, alas, as anyone reading this blog already knows. An existing C codebase being compiled in a new version of Visual Studio would subtly change...
View Articlere: This code would be a lot faster if it weren't for the synchronization
As an alternative example, if two threads each need to read a value from storage, increment it by four or eight, and write it back... most machine languages don't have a single instruction primitive...
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
"Also, does Unix really have more than one C compiler?"IIRC The Solaris shell I used as a student a dozenish years ago had two. gcc and cc; the latter I assume was Sun's proprietary version. On newer...
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
This makes me wonder what competing pre-C99 compilers output.
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
> "Also, does Unix really have more than one C compiler?"GCC is pretty darn dominant, but as Daniel says, there are others.With some regularity I use GCC, Intel's, and Clang. At one point or another...
View Articlere: What does 1#J mean? A strange corner case of the printing of special values
But you don't have any proof that someone will run into this problem. Yet the bug still won't be addressed. It'll just always be there with a note somewhere saying "1#J" Means "infinite".What does...
View Article