

DROP TABLE IF EXISTS `sample_values`;
CREATE TABLE `sample_values` (
  `id` tinyint(3) unsigned NOT NULL default '0',
  `val` double NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

INSERT INTO `sample_values` VALUES (0,1),(1,1.09983341664683),(2,1.19866933079506),(3,1.29552020666134),(4,1.38941834230865),(5,1.4794255386042),(6,1.56464247339504),(7,1.64421768723769),(8,1.71735609089952),(9,1.78332690962748),(10,1.8414709848079),(11,1.89120736006144),(12,1.93203908596723),(13,1.96355818541719),(14,1.98544972998846),(15,1.99749498660405),(16,1.9995736030415),(17,1.99166481045247),(18,1.9738476308782),(19,1.94630008768741),(20,1.90929742682568),(21,1.86320936664887),(22,1.80849640381959),(23,1.74570521217672),(24,1.67546318055115),(25,1.59847214410396),(26,1.51550137182146),(27,1.42737988023383),(28,1.33498815015591),(29,1.23924932921398),(30,1.14112000805987),(31,1.04158066243329),(32,0.94162585657242),(33,0.842254305856752),(34,0.744458897973169),(35,0.64921677231038),(36,0.557479556705148),(37,0.470163859091507),(38,0.388142109057281),(39,0.312233840816026),(40,0.243197504692072),(41,0.18172288893559),(42,0.128424227586412),(43,0.0838340632505451),(44,0.048397926110484),(45,0.022469882334903),(46,0.00630899636653559),(47,7.67424358991686e-05),(48,0.00383539116415932),(49,0.0175473873756675),(50,0.0410757253368615),(51,0.0741853176722675),(52,0.116545344279847),(53,0.167732557776099),(54,0.227235512444013),(55,0.294459674429608),(56,0.368733362127678),(57,0.449314457402362),(58,0.535397820586243),(59,0.626123335169764),(60,0.720584501801074),(61,0.817837495727904),(62,0.916910597182504),(63,1.01681390048435),(64,1.11654920485049),(65,1.21511998808782),(66,1.31154136351338),(67,1.4048499206166),(68,1.49411335113861),(69,1.5784397643882),(70,1.65698659871879),(71,1.72896904012588),(72,1.79366786384915),(73,1.85043662062856),(74,1.89870809581163),(75,1.93799997677474),(76,1.96791967203149),(77,1.988168233877),(78,1.99854334537461),(79,1.99894134183977),(80,1.98935824662338),(81,1.96988981084509),(82,1.94073055667977),(83,1.90217183375629),(84,1.85459890808828),(85,1.79848711262349),(86,1.73439709787411),(87,1.66296923008218),(88,1.58491719289176),(89,1.50102085645788),(90,1.41211848524176),(91,1.31909836234935),(92,1.22288991410025),(93,1.12445442350706),(94,1.02477542545336),(95,0.924848879538191),(96,0.82567321877702),(97,0.728239373589058),(98,0.633520870748072),(99,0.542464106224679),(100,0.45597888911063),(101,0.374929351107118),(102,0.300125312406458),(103,0.232314190236418),(104,0.172173530914346),(105,0.12030424002833),(106,0.0772245783871934),(107,0.0433649837298121),(108,0.0190637699335084),(109,0.00456374669362258),(110,9.79344929652459e-06),(111,0.00544741179601083),(112,0.0208222708486826),(113,0.045980750097911),(114,0.0806714743353243),(115,0.124547825311571),(116,0.177171405031291),(117,0.238016416080967),(118,0.306474915222878),(119,0.381862887762967),(120,0.463427081999565),(121,0.550352535465399),(122,0.641770717763171),(123,0.736768208634199),(124,0.834395824551691),(125,0.933678102648799),(126,1.03362304722114),(127,1.13323204141994),(128,1.23150982510154),(129,1.32747443913769),(130,1.42016703682664),(131,1.50866146437237),(132,1.59207351470722),(133,1.6695697621966),(134,1.74037588995245),(135,1.80378442655162),(136,1.8591618148565),(137,1.90595474230846),(138,1.9436956694441),(139,1.97200750139498),(140,1.99060735569487),(141,1.99930938874792),(142,1.99802665271636),(143,1.98677196427461),(144,1.96565777654928),(145,1.93489505552468),(146,1.8947911721405),(147,1.84574683114293),(148,1.78825206737532),(149,1.72288134951198),(150,1.65028784015712),(151,1.57119686965999),(152,1.4863986888538),(153,1.39674057313061),(154,1.3031183567457),(155,1.2064674819378),(156,1.10775365229944),(157,1.00796318378594),(158,0.908093149772318),(159,0.809141418625811),(160,0.712096683334935),(161,0.617928582815991),(162,0.527578013601534),(163,0.441947728713221),(164,0.361893317652053),(165,0.288214657630877),(166,0.221647921465702),(167,0.162858221980253),(168,0.112432966418495),(169,0.0708759872656316),(170,0.0386025081204432),(171,0.0159349949183566),(172,0.00309993395840391),(173,0.000225568926988884),(174,0.00734061952936682),(175,0.0243739945318424),(176,0.051155502081876),(177,0.0874175502088155),(178,0.132797820514419),(179,0.186842888338511),(180,0.249012753228324),(181,0.3186862344445),(182,0.395167177593716),(183,0.477691410373268),(184,0.565434377928103),(185,0.657519381530387),(186,0.753026338263379),(187,0.851000974185801),(188,0.950464359121633),(189,1.05042268780681),(190,1.14987720966295),(191,1.24783420798296),(192,1.3433149288199),(193,1.43536536037289),(194,1.5230657651577),(195,1.6055398697196),(196,1.68196362006814),(197,1.75157341535215),(198,1.81367373750711),(199,1.86764410064167),(200,1.91294525072763),(201,1.94912455364789),(202,1.97582051776698),(203,1.99276640583591),(204,1.99979290014267),(205,1.9968297942788),(206,1.98390669461862),(207,1.96115272450212),(208,1.92879523407724),(209,1.88715752869235),(210,1.83665563853606),(211,1.77779416180109),(212,1.71116122290598),(213,1.63742259615024),(214,1.55731505351766),(215,1.4716390030942),(216,1.38125049165494),(217,1.28705265132773),(218,1.18998667579544),(219,1.09102241619985),(220,0.991148690709596),(221,0.89136340457592),(222,0.792663579393241),(223,0.696035391188953),(224,0.602444316878567),(225,0.51282548753949),(226,0.428074344890436),(227,0.349037694333753),(228,0.276505243955755),(229,0.211201714024584),(230,0.153779595824829),(231,0.104812632180318),(232,0.0647900848054611),(233,0.0341118457639296),(234,0.0130844418793513),(235,0.00191797202060373),(236,0.000724007863372345),(237,0.00951447910284353),(238,0.0282015542561367),(239,0.0565985182454445),(240,0.0944216379933761),(241,0.141292997390071),(242,0.196744273306045),(243,0.260221414922107),(244,0.331090179621976),(245,0.408642470134876),(246,0.492103409609378),(247,0.580639083926769),(248,0.673364873895278),(249,0.769354294072604),(250,0.867648249902227),(251,0.967264620669155),(252,1.06720807252547),(253,1.16648000353716),(254,1.26408852138447),(255,1.35905835402217);


DROP TABLE IF EXISTS `tinyint_asc`;

CREATE TABLE `tinyint_asc` (
  `value` tinyint(3) unsigned NOT NULL default '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


INSERT INTO `tinyint_asc` VALUES (0),(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),(27),(28),(29),(30),(31),(32),(33),(34),(35),(36),(37),(38),(39),(40),(41),(42),(43),(44),(45),(46),(47),(48),(49),(50),(51),(52),(53),(54),(55),(56),(57),(58),(59),(60),(61),(62),(63),(64),(65),(66),(67),(68),(69),(70),(71),(72),(73),(74),(75),(76),(77),(78),(79),(80),(81),(82),(83),(84),(85),(86),(87),(88),(89),(90),(91),(92),(93),(94),(95),(96),(97),(98),(99),(100),(101),(102),(103),(104),(105),(106),(107),(108),(109),(110),(111),(112),(113),(114),(115),(116),(117),(118),(119),(120),(121),(122),(123),(124),(125),(126),(127),(128),(129),(130),(131),(132),(133),(134),(135),(136),(137),(138),(139),(140),(141),(142),(143),(144),(145),(146),(147),(148),(149),(150),(151),(152),(153),(154),(155),(156),(157),(158),(159),(160),(161),(162),(163),(164),(165),(166),(167),(168),(169),(170),(171),(172),(173),(174),(175),(176),(177),(178),(179),(180),(181),(182),(183),(184),(185),(186),(187),(188),(189),(190),(191),(192),(193),(194),(195),(196),(197),(198),(199),(200),(201),(202),(203),(204),(205),(206),(207),(208),(209),(210),(211),(212),(213),(214),(215),(216),(217),(218),(219),(220),(221),(222),(223),(224),(225),(226),(227),(228),(229),(230),(231),(232),(233),(234),(235),(236),(237),(238),(239),(240),(241),(242),(243),(244),(245),(246),(247),(248),(249),(250),(251),(252),(253),(254),(255);

