Skip to content

Commit 76b85ff

Browse files
authored
Merge pull request #4 from albinahlback/schedule
Set preliminary Monday schedule for FLINT 2025 workshop
2 parents adba01e + 01c00a5 commit 76b85ff

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed
272 KB
Binary file not shown.

download/test_flint.c

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/* Compile with
2+
3+
gcc test_flint.c -lgmp -lflint
4+
5+
*/
6+
#include <flint/fmpz.h>
7+
8+
int
9+
main(int argc, char ** argv)
10+
{
11+
fmpz_t af, bf, cf;
12+
13+
if (argc != 3)
14+
{
15+
flint_printf("Example: %s 3 5\n",
16+
argv[0]);
17+
return 0;
18+
}
19+
20+
/* Initialize */
21+
fmpz_init(af);
22+
fmpz_init(bf);
23+
fmpz_init(cf);
24+
25+
/* Set factors */
26+
fmpz_set_str(af, argv[1], 10);
27+
fmpz_set_str(bf, argv[2], 10);
28+
29+
/* Multiply */
30+
fmpz_mul(cf, af, bf);
31+
32+
/* Print */
33+
flint_printf("a = %{fmpz}\n"
34+
"b = %{fmpz}\n"
35+
"a * b = %{fmpz}\n",
36+
af, bf, cf);
37+
38+
/* Clear */
39+
fmpz_clear(af);
40+
fmpz_clear(bf);
41+
fmpz_clear(cf);
42+
43+
return 0;
44+
}

workshop2025.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,24 @@ suggestions for topics you'd like to see covered.
2626
Additional informal talks and public discussions will be scheduled as the need
2727
arises.
2828

29+
### Monday, January 27th
30+
31+
| Time | Description |
32+
|---------------|-------------|
33+
| 09:00 - 10:00 | Welcome the participants |
34+
| 10:00 - 10:30 | [Quick introduction to FLINT: How to compile and contribute](download/flint_workshop_2025_introduction.pdf), [Example code](download/test_flint.c) |
35+
| 10:30 - 11:45 | - |
36+
| 11:45 - 13:15 | Lunch |
37+
| 13:15 - 17:30 | - |
38+
39+
### Tuesday, January 28th
40+
41+
### Wednesday, January 29th
42+
43+
### Thursday, January 30th
44+
45+
### Friday, January 31st
46+
2947
## Discussion
3048

3149
* Zulip chat: [https://sagemath.zulipchat.com/#narrow/stream/408539-flint](https://sagemath.zulipchat.com/#narrow/stream/408539-flint)

0 commit comments

Comments
 (0)