{"componentChunkName":"component---node-modules-gatsby-theme-replica-src-templates-category-tsx","path":"/categories/math","result":{"data":{"allMdx":{"nodes":[{"id":"c8bd2495-1f19-5efe-b59d-f3ac9b9ba383","excerpt":"(前几天心情差到爆:(，今天终于心情明媚可以填坑了) 我第一次知道不同语言对于 mod 的不同实现会导致结果不同，真是黑人问号…然后又了解到，在计算机界，取模和取余大都是混为一谈的… 了解取模和取余问题的起因是，想要实现类似循环链表中 tail.next === head ,  head.prev === tail  的类似功能，由于平时都会用一些 ramda, lodash 之类的 util…","frontmatter":{"title":"取模(mod)和取余(rem) 在数学和计算机中的不同","date":"2018-11-20T04:18:29.000Z","tags":["mod","remainder"]},"fields":{"slug":"/2018/11/20/remainder-and-modulo/"},"slug":"20181120-remainder-and-modulo"}],"totalCount":1}},"pageContext":{"category":"Math"}},"staticQueryHashes":["2873555300","67573329"]}