Skip to content

Instantly share code, notes, and snippets.

View cure-honey's full-sized avatar

cure honey cure-honey

View GitHub Profile
@cure-honey
cure-honey / Untitled1.ipynb
Last active August 7, 2017 14:06
Sieve of Eratosthenes
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cure-honey
cure-honey / file0.f
Last active August 11, 2016 17:56
Akiyama-Tanigawa 法によるベルヌーイ数の計算 ref: http://qiita.com/cure_honey/items/9130bc26a20da7068c10
module m_rat
implicit none
integer, parameter :: ki = selected_int_kind(15)
type :: t_rat
integer(ki) :: n, d
end type t_rat
interface operator(+)
procedure :: rat_add