<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>owiewowe</author_name>
  <author_url>https://blog.hatena.ne.jp/owiewowe/</author_url>
  <blog_title>19日に更新してた</blog_title>
  <blog_url>https://owiewowe.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>win10 home上の jupyter notebook で*1何故か計算が合わないので、printdebug していたら、numpy.power がどうも合わない*2。 import math import numpy as np for i in range(1,16): print(f&quot;{i:&gt;2} {pow(10,i):&gt;20} {math.pow(10,i):&gt;20} {np.power(10,i):&gt;20}&quot;) で 1 10 10.0 10 2 100 100.0 100 3 1000 1000.0 1000 4 10000 10000.0 10000 5 100000 1000…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fowiewowe.hatenablog.com%2Fentry%2F2021%2F11%2F19%2F093000&quot; title=&quot;numpy.power は2の31乗とか10の10乗とかの大きい計算をするときには、引数のどちらかを float にしておかないと合わなくなるみたい - 19日に更新してた&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>2021-11-19 09:30:00</published>
  <title>numpy.power は2の31乗とか10の10乗とかの大きい計算をするときには、引数のどちらかを float にしておかないと合わなくなるみたい</title>
  <type>rich</type>
  <url>https://owiewowe.hatenablog.com/entry/2021/11/19/093000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
