When I teaching students or checking Hedva1 submitted homeworks, I refer to this definition as if it diverges to Inf(Or -Inf).
Anyway, it does a matter of definition because I don't think it's a formal notation in math, though I think it is more natural to define it as written by me.
אין formal notation, כי זה חומר יחסית בסיסי. בת"א מגדירים את זה כמו שאני אמרתי, כל מקום וההתייחסות שלו.
כהערת אגב אם תמשיך למתמטיקה גבוהה אז מדברים על גבולות מעל התחום שאתה נמצא בו. למשל במרוכבות מרחיבים את C ל-C* ובונים את ספירת ריימן, וכך אם מקבלים גבול שהוא אינסופי, אז הוא אוטומתי שייך לתחום.