This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License. Copyright (c) 2016 Hajime Senuma. | |
/** | |
* asm.js module for logsumexp | |
*/ | |
function asmModule(stdlib, foreign, heap) { | |
'use asm'; | |
var exp = stdlib.Math.exp; | |
var log = stdlib.Math.log; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This gist is distributed under {public domain, CC0, <some OSI-approved license> Copyright (c) 2023 Hajime Senuma}. | |
// Choose what you want to use. | |
// See | |
// https://github.com/hajimes/mmh3/issues/46 | |
// https://stackoverflow.com/questions/75921577/murmur3-hash-compatibility-between-go-and-python | |
package main | |
import "fmt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6.3.2 |