move extras to their own folder

This commit is contained in:
NunoSempere 2024-05-10 20:14:41 +01:00
parent a1e724924b
commit 26a535b19e
5 changed files with 1 additions and 3 deletions

BIN
main

Binary file not shown.

View File

@ -12,7 +12,6 @@ import (
const NORMAL90CONFIDENCE = 1.6448536269514727 const NORMAL90CONFIDENCE = 1.6448536269514727
func boundsToLogParams(low float64, high float64) (float64, float64) { func boundsToLogParams(low float64, high float64) (float64, float64) {
loglow := math.Log(low) loglow := math.Log(low)
loghigh := math.Log(high) loghigh := math.Log(high)
logmean := (loghigh + loglow) / 2.0 logmean := (loghigh + loglow) / 2.0
@ -43,9 +42,8 @@ func combineBounds(old_low, old_high, new_low, new_high float64) (float64, float
func main() { func main() {
reader := bufio.NewReader(os.Stdin) reader := bufio.NewReader(os.Stdin)
var old_low, old_high float64 // Variables to store the intermediate results var old_low, old_high float64
// fmt.Println("Enter two floats separated by a space:")
input, _ := reader.ReadString('\n') input, _ := reader.ReadString('\n')
input = strings.TrimSpace(input) input = strings.TrimSpace(input)

View File

View File