venta: (Default)
[personal profile] venta
A quick question for Visual Studio users (with an ancillary part for anyone who writes C/C++/possibly Java/possibly others). Throughout the following, I mean {} or () by "brackets" :)

Is there an option anywhere in Visual Studio which I can set which means that when I highlight/hover over a bracket, it will in some way highlight or indicate its matching friend ? Yes, I know when you first close your brackets they're in bold text, but that goes away as soon as you start typing something else.

I just asked a VS user here, and he (a) had no idea and (b) seemed baffled I'd want that. Now, up until this recent enforced flirtation with VS I've written C/C++ exclusively in Emacs. Which allows you to set all kinds of different manners of highlighting for brackets. I find it phenomenally useful and am currently boggled that any serious text editor intended for programming doesn't offer this.

So... is this a reasonable thing to want to, or a strange quirk of mine bred by too much use of Emacs ? And, more importantly, can I make VS do it ?

Irrelevantly, just because I want to know:

[Poll #1028846]

Date: 2007-07-30 09:55 pm (UTC)
From: [identity profile] two-nukes.livejournal.com
Ah, that old chestnut, it's been in the 3d games community for yonks as a fast square root used to normalise vectors, though don't think it's used as much now since the vector instructions of a lot of modern processors generally implement a fast approximate reciprocal square root for this sort of thing these days.

Good old Newton Raphson root finder with a sneeky initial approximation using the fact that IEEE FP have exponent and mantissa, halving the exponent is always a good way of starting to head towards the sqrare root.

Profile

venta: (Default)
venta

December 2025

S M T W T F S
 123456
78910111213
14151617181920
212223 24252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 27th, 2025 01:55 am
Powered by Dreamwidth Studios