Comparison of standard and nonstandard approaches to the real numbers and their philosophical justification