Learn about the difference between the different subtypes of integer and floating point types and the sizes of numbers they can represent.
- [Instructor] Okay, in this example we'll see how Julia … works with different kinds of numbers. … So, I'm going to open up numbers_start. … So, Julia defines integer subtypes … that have different byte sizes for both signed … and unsigned integers. … So, there's Int8, … Int16, … Int32 and so on. … And there are unsigned versions of these as well. … So, for example, I can specify that I want … a 16-bit signed integer … by making a variable. … And I can say Int16 and then give it the value I want. … In this case, I'll just use 1. … And then if I print out … the type of … that variable. … Or I can have Julia infer the type when I assign the value. … So, for example, I can make a variable b … and I can say it's an Int … of 2000. … And then I can do the same thing with the print line … and the type of. … So, Julia will assign an integer type … based on whether the system you are working on … is either 32 … or 64-bits. … Now, I could do the same thing with unsigned integers, … which cannot be negative. …
- Using the Julia REPL tool
- Differences between Julia and other languages
- Variables and data types
- Numbers in Julia
- Defining and operating on strings
- Using built-in functions in Julia
- Conditional statements
- Using array functions
- String processing
Skill Level Beginner
Python Basics for Java Developerswith Deepa Muralidhar42m 53s Beginner
Programming Foundations: Algorithmswith Joe Marini1h 45m Beginner
What you should know1m 26s
2. Language Basics
3. Language Features
4. Control Structures
5. Data Structures
6. Julia Features
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.