Initial commit
Test (in pplus-core) / in-core (push) Failing after 28m44s

This commit is contained in:
alexm committed 2026-11-12 22:23:48 -05:00
commit 568474d52f
1591 files changed
+528213

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
#include <math.h>
double minimum_image(double dx, double box) {
return dx - box * floor(dx / box + 0.5);
}
@@ -0,0 +1,5 @@
from std.math import floor
def minimum_image(dx: Float64, box: Float64) -> Float64:
return dx - box * floor(dx / box + 0.5)
@@ -0,0 +1,5 @@
import math
def minimum_image(dx, box):
return dx - box * math.floor(dx / box + 0.5)