NaN checks for volume (from arc)

This commit is contained in:
Anuken
2025-08-01 19:50:29 +02:00
parent 4a43e963ca
commit db7aba8ea0
2 changed files with 2 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ public class LAssembler{
if(Double.isNaN(value)){
return putVar(symbol);
}else{
if(Double.isInfinite(value)) value = 0.0;
//this creates a hidden const variable with the specified value
return putConst("___" + value, value);
}