The Artima Developer Community
Sponsored Link

PHP Buzz Forum
Euclid’s Algorithm in one line of PHP

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jason Sweat

Posts: 150
Nickname: sweatje
Registered: Sep, 2004

Jason Sweat is blogging about PHP
Euclid’s Algorithm in one line of PHP Posted: Jan 14, 2005 2:03 PM
Reply to this message Reply

This post originated from an RSS feed registered with PHP Buzz by Jason Sweat.
Original Post: Euclid’s Algorithm in one line of PHP
Feed Title: Jason E. Sweat's weblog
Feed URL: http://blog.casey-sweat.us/?feed=rss2
Feed Description: Blogging about whatever interests me at the moment, mainly PHP, web application and Gentoo Linux.
Latest PHP Buzz Posts
Latest PHP Buzz Posts by Jason Sweat
Latest Posts From Jason E. Sweat's weblog

Advertisement
I recently answered a post regarding reducing fractions, in which I wrote a one line recursive function to implement Euclid's Algorithm, and I just liked the elegance of the solution, and wanted to mention and save it for posterity. It is not an OOP solution, but being object oriented is ...

Read: Euclid’s Algorithm in one line of PHP

Topic: Flickr Plugin for Serendipity Previous Topic   Next Topic Topic: Some PHP, Generated with Python

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use