[ prog / sol / mona ]

prog


e and the Stern-Brocot tree

23 2021-02-23 23:49
target 1.414213562373095
result 1.414213562373095
912372904077792820333022931514683905196095335332461243563566371630623725027756174840958798586146594892914095401037642377610054228482576727704110500231020662439134133236781589366415205524878535314722341540748126631282687462031097448656828645302597037940779004487605981247667669583729123395867583899548179259053671636594464946726564337037930617138893433544440429360350179319034433043179386253653890778056959564090099584131042792609171485551446220287193670064157175032113243945323799379335206189982084006721103924837454561272670000817253624301004165698525457461249517756759114499889703222149412160665301694111168795976530493998573585466679141412035628294794135220268925566327084096717726075716622819757810639450486297919988578046158833828525325469062759563222180775691512072690399043415592162621696366117965993334661822419744848270408206137218896579046774810149448397093592171548356413795629132503305148903487947415107183019346627904110216664835865582002041482574392065817955357317802858225690925207376993605542582914690980260418563086534219739082870274044629514790108045021964648588957147877553335242189622725230861151908928597780357076966509346517444159661044195373532127149501448465623900205359156173053520045633506497748488413010211676218187024245944636731897289083327716265252592579848721079948056891537057074054078404059256984291844030570801386300484362165471294405751570533709092619045671164240921912086888637832641806419666332796920984444963799864385789395922731763421593489233820681623305468082385959617126639107953866786715082681199375295298398342516439245368301352147472945010786588515500962019666031356507887402263555290987070386890083958938515638981902578172203283552384977890173501578909020338496992971143893003367573490861994803868623180409853340292013727017820739449406566091157326121807628137523647618653406547187947774090879311484132159187408769424091732434374817993103851978756820565200612073505393
645145067444270761356716481857445357641649553114979126977678963754439951082038984632678061418130657858763297544529821984444895464626862603691739802477466631503873767432694953865148667058442664481918025121653166100343954869841332731542457362834113318740074258352418751185500785071084474652030341872751114517691124799298946476356463130421256001538326419686685024658804199090849748412873447604535750572396245530424783088241899918727047006913682721495224443247600409827124799470185578822892780248099201063388167346497317474442071198019623551456189630759811865831617485719078716492727748680645636681156261142523348830419155615693078563602052074308536791767398023563062654117446029432097791614030894600205918745588000027749241499556416620236383481141542139618267239995908984466111486647077115808307902368887069463321555768022390997259037097147923161550796376448633639191058160377727679526847368225829716455421516498274839007505526603632830905156575689466421113905804893041617407988995957582361699110853657191118269861280913215596304247181727470222880786012786174601277208667732522083157085633502053869442681988756433014137552047292645249667623080960158029307041797974528005411231083666859195730472054478916752735859020924743323704976823318050126745409118196223466719223339522073412802366352813857415809629646773071321021322915809378632028416028413299468319362402530515502588589399067652778615784607050131186014530406266363654361196873709332572288106710280508411833502919921220462451339963101921144001361401160661249966470252485720782595383560914505654141717325381005598727773686382562943798678618507388289518297731421477986248887295505359290084507833070865662747168546322649930506385522948488952975319520205239729675192003571242819758609748037543641240137577371696785255726670121334640733501179715052678269583483097831741247328687771258281063372501649165518987809812008399308777781407031699396066250798983206988348120665
stack 6

$ python3 -m timeit -s 'import flake.sbtree as mod' 'mod.work_speclimit (mod.Specs.Sqrt2 (), 10000)'
10000 loops, best of 3: 121 usec per loop
54


VIP:

do not edit these