[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: A nice way to implement the ANDing of the comparis
Anybody who can - today - multiply an 9-digit number with a 12-digit number on the blackboard and come up with the correct result would IMHO deserve a standing ovation, too. :-) Cheers On 6 September 2013 13:33, Costello, Roger L. <costello@xxxxxxxxx> wrote: >> How about >> >> deep-equal($v[position() mod 2 = 0], $v[position() mod 2 = 1]) >> >> Michael Kay > > That, sir, deserves a standing ovation. > > The succinctness and power of Michael's response reminds me of a story I recently read: > > The Lecture Without Words > > At the meeting of the American Mathematical Society in 1903 the mathematician Frank Nelson Cole gave a "lecture without words," silently performing the multiplication > > 193 707 721 * 761 838 257 287 = 147 573 952 588 676 412 927 > > on the blackboard. The number on the right-hand side is 2^67 - 1, which the 17th-century French mathematician Marin Mersenne conjectured is prime. In 1876, Edouard Lucas managed to prove that it is composite, but gave no indication of what numbers would divide it. The audience, knowing full well how hard it is to factor 21-digit numbers, greeted Cole's presentation with a standing ovation.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|