public double Profile(double x) { #if DEBUG if (x < 0) throw new Exception(); #endif if (x <= 1) return 1; return 0; }