14 Jun '13, 1am

ruby c-extensions rhttp://goo.gl/yKhVu (script de python) (script de ruby) (gem…

Sign up for a GitHub Account Sign in secret 3zcurdia / pi.rb Created 2013-06-14 Gist Detail Revisions 1 Download Gist Clone this gist Embed this gist Link to this gist pi.rb Ruby File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 #!/usr/bin/env ruby def arccot x , unity sum = xpower = ( unity / x ) . floor n = 3 sign = - 1 while true xpower = ( xpower / ( x * x )) . floor term = ( xpower / n ) . floor break if term == 0 sum += sign * term sign = - sign n += 2 end sum end def pi digits unity = 10 ** ( digits + 10 ) pi = 4 * ( 4 * arccot ( 5 , unity ) - arccot ( 239 , unity )) ( pi / 10 ** 10 ) . floor end if __FILE__ == $0 puts ( pi ( 100000 ) ) end Please sign in to comment on this gist. Something went wrong with that request. Please try again. © 2013 GitHub Inc. All rights reserved. The GitHub Blog Support Contact

Full article: https://gist.github.com/3zcurdia/7290057695a3c65ffa7b

Tweets

ruby c-extensions rhttp://goo.gl/yKhVu (script ...

github.com 14 Jun '13, 1am

Gem to calculate n digits of irrational numbers very fast Installation Add this line to your application's Gemfile: gem 'n...

ruby c-extensions rhttp://goo.gl/yKhVu (script ...

gist.github.com 14 Jun '13, 1am

Sign up for a GitHub Account Sign in public 3zcurdia / pi.py Created 2013-06-14 Pi with Machin's formula Gist Detail Revis...

chrome-profile-manager - Script Ruby pour gérer...

news.humancoders.com 14 Jun '13, 5am

Dev. Front chrome-profile-manager - Script Ruby pour gérer vos profils Chrome sur Mac OS (fr) Partagé par Camille Roux il ...

Some kid created a web site for me on Ruby on R...

freelancer.com 12 Jun '13, 11pm

Some kid created a web site for me on Ruby on Rails. He developed it in Heroku. After he finished and I approved the websi...

railsmx : Aprendiendo Ruby

rails.mx 12 Jun '13, 11pm

En nuestra próxima reunión seguiremos aprendiendo a programar en Ruby, iniciando con conceptos básicos de programación, y ...

Introduction to Ruby on Rails, este viernes 21 de Junio

Introduction to Ruby on Rails, este viernes 21 ...

facebook.com 12 Jun '13, 4pm

Desde la comodidad de tu Trabajo o tu Hogar. Sesiones en vivo con tu instructor Certificado, en español y a distancia. Sin...

Antes de aprender Rails aprende Ruby: Primeros pasos necesarios en Ruby

Antes de aprender Rails aprende Ruby: Primeros ...

Una de las reglas fundamentales de Ruby es que tengamos en cuenta que todo es un objeto, es importante que este punto lo t...

[de PHP à Rails] Jour 10 : Sprockets

news.humancoders.com 10 Jun '13, 3pm

Bonjour ! Aujourd'hui je m'attaque à la découverte et à la personnalisation de Sprockets, le gestionnaire d'assets de Ruby...

Un petit script Ruby pour Mac OS pour créer/gér...

github.com 13 Jun '13, 9am

Ce projet est un petit script Ruby permettant de gérer différents profiles Chrome en parallèle. En tant que développeur we...

Flash: Ruby on Rails 4 RC2 is released!

stream.rubydaily.org 11 Jun '13, 10pm

Flash: Ruby on Rails 4 RC2 is released! The last release candidate before the final version of Ruby on Rails 4 is released...

Being paranoid with Ruby gems

rubyflow.com 10 Jun '13, 10am

Being paranoid with Ruby gems Posted by gravis on June 10, 2013 — 0 comments We all know the unpleasant consequences if we...

Scottish Graduates: Graduate Software Engineer ...

topnewjob.co.uk 11 Jun '13, 5am

Graduate Software Engineer - software, Ruby, Rails, Java, Python, SQL, app, cloud, Django, C++, C#, JS, Edinburgh, to £hig...

Gather Client Information From LinkedIn Using Python #python #data #scraping #linkedin

Gather Client Information From LinkedIn Using P...

intridea.com 11 Jun '13, 6pm

One of the biggest challenges for any marketer is to create content that is relevant to their target market. Because conte...

#freelance jobs: Ruby on Rails - Heroku - JSON ...

freelancer.com 09 Jun '13, 11pm

Project Description: Project involves existing open source script. Mainly front-end development cloning some additional fu...

How to Script Your Explainer Videos with Celtx ...

reelseo.com 07 Jun '13, 6pm

Sitting down to write a script for a promo/explainer video can be daunting. A good scriptwriting application can relieve y...