Quantcast
Channel: The Old New Thing
Browsing all 24428 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

re: 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 Article


Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article


Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article


Image may be NSFW.
Clik here to view.

re: 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 Article


Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article


Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article


Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article


Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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 Article

Image may be NSFW.
Clik here to view.

re: 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
Browsing all 24428 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>