<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shuzo_kino</author_name>
  <author_url>https://blog.hatena.ne.jp/shuzo_kino/</author_url>
  <blog_title>Bye Bye Moore</blog_title>
  <blog_url>https://shuzo-kino.hateblo.jp/</blog_url>
  <categories>
    <anon>livescript</anon>
  </categories>
  <description>prelude.ls記事の続き、今回は数値に適用される関数です。 実際のところ よくあるやつ 最大値、最小値に切り上げ切り捨てと、 あると便利な数値系関数は一通り揃ってます。 平均値は、後で記事化するリストででてきます。 max 1 4 #&gt;&gt; 4 min 1 4 #&gt;&gt; 1 ceiling 2.4 #&gt;&gt; 3 round 2.4 #&gt;&gt; 2 珍しいやつ 分数を出すrecip recip 6 #&gt;&gt; 0.16666666666666666 recip 4 #&gt;&gt; 0.25最小公倍数、最大公約数 lcm 42 98 #&gt;&gt; 294 gcd 3 6 #&gt;&gt; 3 参考もと prelude.ls - …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2015%2F11%2F13%2F235605&quot; title=&quot;livescriptを更に闇深く。prelude.lsで関数型の深淵を覗き見る　その２：数値編 - Bye Bye Moore&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-11-13 23:56:05</published>
  <title>livescriptを更に闇深く。prelude.lsで関数型の深淵を覗き見る　その２：数値編</title>
  <type>rich</type>
  <url>https://shuzo-kino.hateblo.jp/entry/2015/11/13/235605</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
