Julia v1.6.6 Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1324 页 | 4.54 MB | 1 年前3Julia 1.6.5 Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1325 页 | 4.54 MB | 1 年前3Julia 1.6.7 Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1324 页 | 4.54 MB | 1 年前3Julia 1.6.1 Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1397 页 | 4.59 MB | 1 年前3Julia 1.6.4 Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1324 页 | 4.54 MB | 1 年前3Julia 1.7.0 DEV Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1399 页 | 4.59 MB | 1 年前3Julia 1.6.0 DEV Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1383 页 | 4.56 MB | 1 年前3Julia 1.6.2 Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1324 页 | 4.54 MB | 1 年前3Julia 1.6.0 Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1397 页 | 4.59 MB | 1 年前3Julia 1.6.3 Documentation
whereas x^-y and x^2y parse as x^(-y) and x^(2y). 5.8 Numerical Conversions Julia supports three forms of numerical conversion, which differ in their handling of inexact conversions. • The notation T(x) example, round(Int,x) is a short- hand for Int(round(x)). The following examples show the different forms. julia> Int8(127) 127 julia> Int8(128) ERROR: InexactError: trunc(Int8, 128) Stacktrace: [. must be output using the generic, escaped \u or \U input forms. In addition to these Unicode escape forms, all of C's traditional escaped input forms can also be used: julia> Int('\0') 0 julia> Int('\t')0 码力 | 1325 页 | 4.54 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9